From 54762435ab2fd4fa0be6be8bda2e24d9cdf92115 Mon Sep 17 00:00:00 2001 From: rurban Date: Wed, 10 Nov 2010 08:47:34 +0000 Subject: [PATCH] support php-4.3.9, Red Hat Enterprise Linux ES release 4. We use that. git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@7737 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- INSTALL | 5 +++-- lib/main.php | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/INSTALL b/INSTALL index 89e5b42e5..bec2aa2ce 100644 --- a/INSTALL +++ b/INSTALL @@ -1,7 +1,8 @@ REQUIREMENTS -PhpWiki requires a web server with at least PHP version 4.3.10. -PhpWiki was tested with 4.4.7 (centos4), 4.3.10, 4.4.9, 5.0.3, +PhpWiki requires a web server with at least PHP version 4.3.9 +(Red Hat Enterprise Linux ES release 4). +PhpWiki was tested with 4.4.7 (centos4), 4.3.9, 4.3.10, 4.4.9, 5.0.3, 5.1.6 (centos5), 5.2.10, 5.3.2, 5.3.3. All users of PHP are strongly encouraged to upgrade to PHP 5.2.14 diff --git a/lib/main.php b/lib/main.php index 74f2f45ce..21fea1374 100644 --- a/lib/main.php +++ b/lib/main.php @@ -1327,8 +1327,9 @@ function validateSessionPath() { function main () { - if (version_compare(PHP_VERSION, '4.3.10', '<')) { - exit(_("Your PHP version is too old. You must have at least PHP 4.3.10")); + // latest supported: Red Hat Enterprise Linux ES release 4 + if (version_compare(PHP_VERSION, '4.3.9', '<')) { + exit(_("Your PHP version is too old. You must have at least PHP 4.3.9")); } if ( !USE_DB_SESSION ) -- 2.45.0