Skip to content
Snippets Groups Projects
Commit d87707c8 authored by catch's avatar catch
Browse files

Issue #3255271 by Spokje, longwave: Increase Drupal::MINIMUM_PHP to 8.0.2

parent af2bc2f5
No related branches found
Tags 7.x-1.0-beta1
No related merge requests found
......@@ -48,7 +48,7 @@
"preferred-install": "dist",
"autoloader-suffix": "Drupal9",
"platform": {
"php": "8.0.0"
"php": "8.0.2"
},
"allow-plugins": {
"composer/installers": true,
......
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "4da5f467b822f165f9e26ae5faa8ec08",
"content-hash": "c349b824aa23e0ca51171bd05b895db3",
"packages": [
{
"name": "asm89/stack-cors",
......@@ -535,7 +535,7 @@
"dist": {
"type": "path",
"url": "core",
"reference": "ded302b3b87ab926e48cbf067878daa142d624d2"
"reference": "4768651a943f1afe5c2b2a1122dbfdfc7bf221a7"
},
"require": {
"asm89/stack-cors": "^1.1",
......@@ -561,7 +561,7 @@
"laminas/laminas-feed": "^2.12",
"masterminds/html5": "^2.1",
"pear/archive_tar": "^1.4.14",
"php": ">=8.0.0",
"php": ">=8.0.2",
"psr/log": "^1.0",
"stack/builder": "^1.0",
"symfony/console": "^4.4",
......@@ -8327,7 +8327,7 @@
"platform": [],
"platform-dev": [],
"platform-overrides": {
"php": "8.0.0"
"php": "8.0.2"
},
"plugin-api-version": "2.1.0"
}
......@@ -15,7 +15,7 @@ QUICKSTART
----------------------
Prerequisites:
- PHP 8.0.0 (or greater) (https://php.net).
- PHP 8.0.2 (or greater) (https://php.net).
In the instructions below, replace the version x.y.z with the specific version
you wish to download. Example: 8.6.0.zip. You can find the latest stable version
......@@ -48,7 +48,7 @@ Drupal requires:
- A web server with PHP support, for example:
- Apache 2.4.7 (or greater) (http://httpd.apache.org/).
- Nginx 1.1 (or greater) (http://nginx.com/).
- PHP 8.0.0 (or greater) (http://php.net/).
- PHP 8.0.2 (or greater) (http://php.net/).
- One of the following databases:
- MySQL 5.7.8 (or greater) (http://www.mysql.com/).
- MariaDB 10.3.7 (or greater) (https://mariadb.org/). MariaDB is a fully
......
......@@ -17,7 +17,7 @@
"ext-SPL": "*",
"ext-tokenizer": "*",
"ext-xml": "*",
"php": ">=8.0.0",
"php": ">=8.0.2",
"symfony/console": "^4.4",
"symfony/dependency-injection": "^4.4",
"symfony/event-dispatcher": "^4.4",
......
......@@ -29,8 +29,8 @@
// hardcoded minimum PHP version below (both in the version_compare() call and
// in the printed message to the user) whenever \Drupal::MINIMUM_PHP is
// updated.
if (version_compare(PHP_VERSION, '8.0.0') < 0) {
print 'Your PHP installation is too old. Drupal requires at least PHP 8.0.0. See the <a href="https://www.drupal.org/docs/9/how-drupal-9-is-made-and-what-is-included/environment-requirements-of-drupal-9#s-php-version-requirement">Environment requirements of Drupal 9</a> page for more information.';
if (version_compare(PHP_VERSION, '8.0.2') < 0) {
print 'Your PHP installation is too old. Drupal requires at least PHP 8.0.2. See the <a href="https://www.drupal.org/docs/9/how-drupal-9-is-made-and-what-is-included/environment-requirements-of-drupal-9#s-php-version-requirement">Environment requirements of Drupal 9</a> page for more information.';
exit;
}
......
......@@ -96,7 +96,7 @@ class Drupal {
* that Drupal no longer supports that PHP version.
* - An error is shown in the status report that the PHP version is too old.
*/
const MINIMUM_SUPPORTED_PHP = '8.0.0';
const MINIMUM_SUPPORTED_PHP = '8.0.2';
/**
* Minimum allowed version of PHP for Drupal to be bootstrapped.
......@@ -114,7 +114,7 @@ class Drupal {
* - Once in the error message printed to the user immediately after.
* Remember to update both whenever this constant is updated.
*/
const MINIMUM_PHP = '8.0.0';
const MINIMUM_PHP = '8.0.2';
/**
* Minimum recommended value of PHP memory_limit.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment