DRUPAL_MINIMUM_SUPPORTED_PHP
Same name in other branches
- 8.9.x core/includes/bootstrap.inc \DRUPAL_MINIMUM_SUPPORTED_PHP
Minimum supported version of PHP.
Below this version:
- New sites cannot be installed, except from within tests.
- Updates from previous Drupal versions can be run, but users are warned that Drupal no longer supports that PHP version.
- An error is shown in the status report that the PHP version is too old.
Deprecated
in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Utility\PhpRequirements::getMinimumSupportedPhp() instead.
See also
https://www.drupal.org/node/2909361
https://www.drupal.org/node/3261451
File
-
core/
includes/ bootstrap.inc, line 51
Code
const DRUPAL_MINIMUM_SUPPORTED_PHP = \Drupal::MINIMUM_SUPPORTED_PHP;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.