diff --git a/core/install.php b/core/install.php index 80e03179a4..dff4552bda 100644 --- a/core/install.php +++ b/core/install.php @@ -22,7 +22,7 @@ define('MAINTENANCE_MODE', 'install'); // Exit early if running an incompatible PHP version to avoid fatal errors. -if (version_compare(PHP_VERSION, '7.3.0') < 0) { +if (version_compare(PHP_VERSION, \Drupal::MINIMUM_PHP) < 0) { print 'Your PHP installation is too old. Drupal requires at least PHP 7.3.0. See the system requirements page for more information.'; exit; }