Verified Commit ced9990e authored by Jess's avatar Jess
Browse files

Issue #3272275 by eelkeblok, smustgrave, xjm, ravi.shankar, quietone,...

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 393596dc)
parent 8868e57e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
// 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;
}