diff --git a/inc/infoutils.php b/inc/infoutils.php index a334e09429390f91f09ce612f51f24ce997ba501..43df78a8c4c8933c8a81b321d04cfd6a2bbbb1fe 100644 --- a/inc/infoutils.php +++ b/inc/infoutils.php @@ -81,8 +81,8 @@ function check(){ msg('DokuWiki version: '.getVersion(),1); - if(version_compare(phpversion(),'5.0.0','<')){ - msg('Your PHP version is too old ('.phpversion().' vs. 5.0.0+ recommended)',-1); + if(version_compare(phpversion(),'5.1.2','<')){ + msg('Your PHP version is too old ('.phpversion().' vs. 5.1.2+ needed)',-1); }else{ msg('PHP version '.phpversion(),1); } diff --git a/install.php b/install.php index e11ba1d4a7b1414cfde119e1d1337959d8e741c9..ddbc46130967849e01088c3aaec284402b1064e5 100644 --- a/install.php +++ b/install.php @@ -423,8 +423,8 @@ function check_functions(){ global $lang; $ok = true; - if(version_compare(phpversion(),'5.0.0','<')){ - $error[] = sprintf($lang['i_phpver'],phpversion(),'5.0.0'); + if(version_compare(phpversion(),'5.1.2','<')){ + $error[] = sprintf($lang['i_phpver'],phpversion(),'5.1.2'); $ok = false; }