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
xjm 2022-12-23 14:03:07 -06:00
parent 8868e57e1f
commit ced9990edc
No known key found for this signature in database
GPG Key ID: 206B0B8743BDF4C2
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}