diff --git a/lam-packaging/debian/control b/lam-packaging/debian/control index 504d4efa..d64dddbb 100644 --- a/lam-packaging/debian/control +++ b/lam-packaging/debian/control @@ -7,7 +7,7 @@ Build-Depends: debhelper (>= 4.1.16), po-debconf Package: ldap-account-manager Architecture: all -Depends: php5 (>= 5.2), php5-ldap, apache | apache-ssl | apache-perl | apache2 | httpd, php-fpdf, debconf (>= 0.2.26) | debconf-2.0 +Depends: php5 (>= 5.1), php5-ldap, apache | apache-ssl | apache-perl | apache2 | httpd, php-fpdf, debconf (>= 0.2.26) | debconf-2.0 Recommends: php5-mhash Suggests: ldap-server, sudo, perl, php5-mcrypt Description: webfrontend for managing accounts in an LDAP directory diff --git a/lam/INSTALL b/lam/INSTALL index 4d70ddb4..b1565525 100644 --- a/lam/INSTALL +++ b/lam/INSTALL @@ -5,7 +5,7 @@ Installation Instructions for LAM 1. Requirements - - Apache webserver (SSL optional) with PHP module (PHP 5 (>= 5.2) with + - Apache webserver (SSL optional) with PHP module (PHP 5 (>= 5.1) with ldap, gettext, xml and optional mcrypt) - some LAM plugins may require additional PHP extensions (you will get a note on the login page if something is missing) @@ -52,7 +52,7 @@ Installation Instructions for LAM 3. Setting up PHP - LAM runs with PHP5 (>= 5.2). + LAM runs with PHP5 (>= 5.1). Needed changes in your php.ini: diff --git a/lam/README b/lam/README index b3a1d16c..24c6160d 100644 --- a/lam/README +++ b/lam/README @@ -20,7 +20,7 @@ LAM - Readme Tilo Lutz Requirements: - PHP5 (>= 5.2) + PHP5 (>= 5.1) Openldap (2.0 or greater) A web-browser that supports CSS diff --git a/lam/templates/login.php b/lam/templates/login.php index 9de4886c..669e48b6 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -53,8 +53,8 @@ if (! function_exists('gettext') || !function_exists('_')) { if (! function_exists('utf8_decode')) { $criticalErrors[] = array("ERROR", "Your PHP has no XML support!", "Please install the XML extension for PHP."); } -// check if PHP >= 5.2 -if (version_compare(phpversion(), '5.2.0') < 0) { +// check if PHP >= 5.1 +if (version_compare(phpversion(), '5.1.0') < 0) { $criticalErrors[] = array("ERROR", "LAM needs PHP 5 greater or equal as 5.2.0!", "Please upgrade your PHP installation."); } // check file permissions