diff -u b/core/INSTALL.txt b/core/INSTALL.txt --- b/core/INSTALL.txt +++ b/core/INSTALL.txt @@ -18,7 +18,7 @@ - A web server with PHP support, for example: - Apache 2.0 (or greater) (http://httpd.apache.org/). - Nginx 1.1 (or greater) (http://www.nginx.com/). -- PHP 5.4 (or greater) (http://www.php.net/). +- PHP 5.4.2 (or greater) (http://www.php.net/). - One of the following databases: - MySQL 5.0.15 (or greater) (http://www.mysql.com/). - MariaDB 5.1.44 (or greater) (http://mariadb.org/). MariaDB is a fully diff -u b/core/includes/bootstrap.inc b/core/includes/bootstrap.inc --- b/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -31,7 +31,7 @@ /** * Minimum supported version of PHP. */ -const DRUPAL_MINIMUM_PHP = '5.4'; +const DRUPAL_MINIMUM_PHP = '5.4.2'; /** * Minimum recommended value of PHP memory_limit. diff -u b/core/install.php b/core/install.php --- b/core/install.php +++ b/core/install.php @@ -23,8 +23,8 @@ // The minimum version is specified explicitly, as DRUPAL_MINIMUM_PHP is not // yet available. It is defined in bootstrap.inc, but it is not possible to // load that file yet as it would cause a fatal error on older versions of PHP. -if (version_compare(PHP_VERSION, '5.4') < 0) { - print 'Your PHP installation is too old. Drupal requires at least PHP 5.4. See the system requirements page for more information.'; +if (version_compare(PHP_VERSION, '5.4.2') < 0) { + print 'Your PHP installation is too old. Drupal requires at least PHP 5.4.2. See the system requirements page for more information.'; exit; } diff -u b/core/update.php b/core/update.php --- b/core/update.php +++ b/core/update.php @@ -28,8 +28,8 @@ // The minimum version is specified explicitly, as DRUPAL_MINIMUM_PHP is not // yet available. It is defined in bootstrap.inc, but it is not possible to // load that file yet as it would cause a fatal error on older versions of PHP. -if (version_compare(PHP_VERSION, '5.4') < 0) { - print 'Your PHP installation is too old. Drupal requires at least PHP 5.4. See the system requirements page for more information.'; +if (version_compare(PHP_VERSION, '5.4.2') < 0) { + print 'Your PHP installation is too old. Drupal requires at least PHP 5.4.2. See the system requirements page for more information.'; exit; }