Issue #3272275 by eelkeblok, smustgrave, xjm, ravi.shankar, quietone, sergiogsanchez: Decide what to say very early in the installer if the site is below the absolute minimum
(cherry picked from commit 393596dceb
)
merge-requests/3173/head
parent
8868e57e1f
commit
ced9990edc
|
@ -30,7 +30,7 @@ define('MAINTENANCE_MODE', 'install');
|
|||
// in the printed message to the user) whenever \Drupal::MINIMUM_PHP is
|
||||
// updated.
|
||||
if (version_compare(PHP_VERSION, '8.1.0') < 0) {
|
||||
print 'Your PHP installation is too old. Drupal requires at least PHP 8.1.0. See <a href="http://php.net/supported-versions.php">PHP\'s version support documentation</a> and the <a href="https://www.drupal.org/docs/system-requirements/php-requirements">Drupal PHP requirements</a> page for more information.';
|
||||
print 'Your PHP installation is too old. Refer to the <a href="https://www.drupal.org/docs/system-requirements/php-requirements">Drupal PHP requirements</a> for the currently recommended PHP version for this release. See <a href="https://php.net/supported-versions.php">PHP\'s version support documentation</a> for more information on PHP\'s own support schedule.';
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue