From 8894f957cdd7dc790d9413cfbef28cc4dc1655db Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Fri, 17 Jul 2009 17:54:37 -0400 Subject: [PATCH] Require PHP 5.2.3 or later. http://laconi.ca/trac/ticket/1605 --- README | 2 +- install.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index 0214e49315..b65a08d425 100644 --- a/README +++ b/README @@ -134,7 +134,7 @@ Prerequisites The following software packages are *required* for this software to run correctly. -- PHP 5.2.x. It may be possible to run this software on earlier +- PHP 5.2.3+. It may be possible to run this software on earlier versions of PHP, but many of the functions used are only available in PHP 5.2 or above. - MySQL 5.x. The Laconica database is stored, by default, in a MySQL diff --git a/install.php b/install.php index 570b08edf4..8f500259ef 100644 --- a/install.php +++ b/install.php @@ -43,8 +43,8 @@ function checkPrereqs() $pass = false; } - if (version_compare(PHP_VERSION, '5.0.0', '<')) { - ?>

Require PHP version 5 or greater.

Require PHP version 5.2.3 or greater.