diff --git a/composer.json b/composer.json index a38fdb952..1ee62e382 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": ">=5.3.2", + "php": ">=5.3.3", "composer/installers": "*" }, "extra": { diff --git a/dev/install/install.php b/dev/install/install.php index 703bf97e1..fb1a35655 100644 --- a/dev/install/install.php +++ b/dev/install/install.php @@ -4,17 +4,17 @@ ************************************************************************************ ** ** ** If you can read this text in your browser then you don't have PHP installed. ** - ** Please install PHP 5.3.2 or higher, preferably PHP 5.3.4+. ** + ** Please install PHP 5.3.3 or higher, preferably PHP 5.3.4+. ** ** ** ************************************************************************************ ************************************************************************************/ /** - * PHP version check. Make sure we've got at least PHP 5.3.2 in the most friendly way possible + * PHP version check. Make sure we've got at least PHP 5.3.3 in the most friendly way possible */ define('FRAMEWORK_NAME', 'framework'); -if (version_compare(phpversion(), '5.3.2', '<')) { +if (version_compare(phpversion(), '5.3.3', '<')) { header("HTTP/1.1 500 Server Error"); echo str_replace( array('$PHPVersion', 'sapphire'), diff --git a/dev/install/install.php5 b/dev/install/install.php5 index b05808276..02cf81343 100755 --- a/dev/install/install.php5 +++ b/dev/install/install.php5 @@ -4,7 +4,7 @@ ************************************************************************************ ** ** ** If you can read this text in your browser then you don't have PHP installed. ** - ** Please install PHP 5.3.2 or higher, preferably PHP 5.3.4+. ** + ** Please install PHP 5.3.3 or higher, preferably PHP 5.3.4+. ** ** ** ************************************************************************************ ************************************************************************************/ @@ -411,7 +411,7 @@ class InstallRequirements { $isIIS = $this->isIIS(7); $webserver = $this->findWebserver(); - $this->requirePHPVersion('5.3.4', '5.3.2', array( + $this->requirePHPVersion('5.3.4', '5.3.3', array( "PHP Configuration", "PHP5 installed", null, diff --git a/dev/install/php5-required.html b/dev/install/php5-required.html index 8db360a21..c151b77d9 100644 --- a/dev/install/php5-required.html +++ b/dev/install/php5-required.html @@ -1,18 +1,18 @@
-We have detected that you are running PHP version $PHPVersion. In order to run SilverStripe, - you must have PHP version 5.3.2 or greater, and for best results we recommend PHP 5.3.4 or greater.
+ you must have PHP version 5.3.3 or greater, and for best results we recommend PHP 5.3.4 or greater.If you are running on a shared host, you may need to ask your hosting provider how to do this.