From 001d05eda158fd1c33cd0e6580a28241af69226c Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 14 Oct 2014 21:32:54 +0200 Subject: new PHP minimum requirement is now 5.3.3 that's the version in Debian old stable --- inc/infoutils.php | 6 +++--- install.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/infoutils.php b/inc/infoutils.php index 8fe344093..06e03e90f 100644 --- a/inc/infoutils.php +++ b/inc/infoutils.php @@ -114,13 +114,13 @@ function check(){ if ($INFO['isadmin'] || $INFO['ismanager']){ msg('DokuWiki version: '.getVersion(),1); - if(version_compare(phpversion(),'5.2.0','<')){ - msg('Your PHP version is too old ('.phpversion().' vs. 5.2.0+ needed)',-1); + if(version_compare(phpversion(),'5.3.3','<')){ + msg('Your PHP version is too old ('.phpversion().' vs. 5.3.3+ needed)',-1); }else{ msg('PHP version '.phpversion(),1); } } else { - if(version_compare(phpversion(),'5.2.0','<')){ + if(version_compare(phpversion(),'5.3.3','<')){ msg('Your PHP version is too old',-1); } } diff --git a/install.php b/install.php index c8bc68ef9..d13a5eaab 100644 --- a/install.php +++ b/install.php @@ -538,8 +538,8 @@ function check_functions(){ global $lang; $ok = true; - if(version_compare(phpversion(),'5.2.0','<')){ - $error[] = sprintf($lang['i_phpver'],phpversion(),'5.2.0'); + if(version_compare(phpversion(),'5.3.3','<')){ + $error[] = sprintf($lang['i_phpver'],phpversion(),'5.3.3'); $ok = false; } -- cgit v1.2.3