MDL-39006 environment: raise all uses of 5.3.2 to 5.3.3

This commit is contained in:
Eloy Lafuente (stronk7)
2013-04-07 18:32:15 +02:00
parent 422f68fb86
commit 0fd23b76de
5 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -251,10 +251,10 @@ if (file_exists("$CFG->dataroot/climaintenance.html")) {
if (CLI_SCRIPT) {
// sometimes people use different PHP binary for web and CLI, make 100% sure they have the supported PHP version
if (version_compare(phpversion(), '5.3.2') < 0) {
if (version_compare(phpversion(), '5.3.3') < 0) {
$phpversion = phpversion();
// do NOT localise - lang strings would not work here and we CAN NOT move it to later place
echo "Moodle 2.1 or later requires at least PHP 5.3.2 (currently using version $phpversion).\n";
echo "Moodle 2.5 or later requires at least PHP 5.3.3 (currently using version $phpversion).\n";
echo "Some servers may have multiple PHP versions installed, are you using the correct executable?\n";
exit(1);
}