From: Frank Karlitschek Date: Mon, 30 Apr 2012 11:28:31 +0000 (+0200) Subject: we require php 5.3 now. so please notify the user if an old version is in use X-Git-Tag: v4.0.0beta~140 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e1268cd5f4524188bdda73183b0120511887ab11;p=nextcloud-server.git we require php 5.3 now. so please notify the user if an old version is in use --- diff --git a/lib/util.php b/lib/util.php index b30b9dfd481..2c05eb02599 100644 --- a/lib/util.php +++ b/lib/util.php @@ -243,6 +243,9 @@ class OC_Util { if(!function_exists('imagepng')){ $errors[]=array('error'=>'PHP module GD is not installed.
','hint'=>'Please ask your server administrator to install the module.'); } + if(floatval(phpversion())<5.3){ + $errors[]=array('error'=>'PHP 5.3 is required.
','hint'=>'Please ask your server administrator to update PHP to version 5.3 or higher. PHP 5.2 is no longer supported by ownCloud and the PHP community.'); + } return $errors; }