MDL-14645 PHP 5.2.0 now required on frontpage

This commit is contained in:
skodak 2008-05-01 21:44:28 +00:00
parent afb40c03ae
commit 06dc4dc123

View File

@ -8,9 +8,9 @@
/// Check that PHP is of a sufficient version
/// Moved here because older versions do not allow while(@ob_end_clean());
if (version_compare(phpversion(), "4.3.0") < 0) {
if (version_compare(phpversion(), "5.5.0") < 0) {
$phpversion = phpversion();
echo "Sorry, Moodle requires PHP 4.3.0 or later (currently using version $phpversion)";
echo "Sorry, Moodle requires PHP 5.2.0 or later (currently using version $phpversion)";
die;
}