diff --git a/lam-packaging/debian/control b/lam-packaging/debian/control index 634b2fe2..c0ee15bb 100644 --- a/lam-packaging/debian/control +++ b/lam-packaging/debian/control @@ -8,7 +8,7 @@ Homepage: http://www.ldap-account-manager.org/ Package: ldap-account-manager Architecture: all -Depends: php5 (>= 5.1), php5-ldap, php5-gd, apache2 | httpd, php-fpdf, libjs-jquery (>= 1.4.2), libjs-jquery-ui (>= 1.8), debconf (>= 0.2.26) | debconf-2.0, ${misc:Depends} +Depends: php5 (>= 5.2.4), php5-ldap, php5-gd, apache2 | httpd, php-fpdf, libjs-jquery (>= 1.4.2), libjs-jquery-ui (>= 1.8), debconf (>= 0.2.26) | debconf-2.0, ${misc:Depends} Suggests: ldap-server, php5-mcrypt, ldap-account-manager-lamdaemon, perl Description: webfrontend for managing accounts in an LDAP directory LDAP Account Manager (LAM) runs on an existing webserver. diff --git a/lam/lib/checkEnvironment.inc b/lam/lib/checkEnvironment.inc index 2b0071ba..f7be095d 100644 --- a/lam/lib/checkEnvironment.inc +++ b/lam/lib/checkEnvironment.inc @@ -33,8 +33,8 @@ $Id$ /** status messages */ include_once("../lib/status.inc"); -// check if PHP >= 5.1 -if (version_compare(phpversion(), '5.1.0') < 0) { +// check if PHP >= 5.2.4 +if (version_compare(phpversion(), '5.2.4') < 0) { echo "\n\n"; echo "\n\n"; echo "\n"; @@ -43,7 +43,7 @@ if (version_compare(phpversion(), '5.1.0') < 0) { echo "\n"; echo "LDAP Account Manager\n"; echo "\n"; - StatusMessage("ERROR", "LAM needs a PHP 5 version which is greater or equal than 5.1.0.", "Please upgrade your PHP installation. The found version is " . phpversion()); + StatusMessage("ERROR", "LAM needs a PHP 5 version which is greater or equal than 5.2.4.", "Please upgrade your PHP installation. The found version is " . phpversion()); echo "

"; echo ""; exit();