From: Tim Starling Date: Mon, 14 Mar 2011 10:42:07 +0000 (+0000) Subject: Require at least PHP 5.2.3. There's not much point increasing the minimum to 5.2... X-Git-Tag: 1.31.0-rc.0~31431 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=822c80bc76777d3b8a7e8c7f7c8f7e2414d7cd31;p=lhc%2Fweb%2Fwiklou.git Require at least PHP 5.2.3. There's not much point increasing the minimum to 5.2.0, as I argued at lists.wikimedia.org/pipermail/wikitech-l/2010-November/050138.html . But requiring 5.2.3 is a significant win. Updates r83217. --- diff --git a/INSTALL b/INSTALL index d246c7b535..1f226fe0b4 100644 --- a/INSTALL +++ b/INSTALL @@ -6,7 +6,7 @@ Starting with MediaWiki 1.2.0, it's possible to install and configure the wiki "in-place", as long as you have the necessary prerequisites available. Required software: -* Web server with PHP 5.2.x or higher. +* Web server with PHP 5.2.3 or higher. * A SQL server, the following types are supported ** MySQL 4.0.14 or higher ** PostgreSQL 8.3 or higher diff --git a/RELEASE-NOTES b/RELEASE-NOTES index f6ea6f1533..0a38d43d9a 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -19,7 +19,7 @@ Those wishing to use the latest code instead of a branch release can obtain it from source control: http://www.mediawiki.org/wiki/Download_from_SVN === PHP 5.2 now required == -In 1.18, the lowest supported version of MediaWiki is now 5.2.x. Please upgrade +In 1.18, the lowest supported version of MediaWiki is now 5.2.3. Please upgrade PHP if you have not done so prior to upgrading MediaWiki. === Configuration changes in 1.18 === diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index fd43fef12b..1ddc237585 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -24,7 +24,7 @@ abstract class Installer { // This is the absolute minimum PHP version we can support - const MINIMUM_PHP_VERSION = '5.2.0'; + const MINIMUM_PHP_VERSION = '5.2.3'; /** * @var array