diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-07-17 17:54:37 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-07-17 17:54:37 -0400 |
commit | 8894f957cdd7dc790d9413cfbef28cc4dc1655db (patch) | |
tree | c7e7f7dd471e6ff071a5886d5e2bcc46887f6507 | |
parent | f0d17afc7b69308b27dc48a43ed08947885d8225 (diff) |
Require PHP 5.2.3 or later.
http://laconi.ca/trac/ticket/1605
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | install.php | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 570b08edf..8f500259e 100644 --- a/install.php +++ b/install.php @@ -43,8 +43,8 @@ function checkPrereqs() $pass = false; } - if (version_compare(PHP_VERSION, '5.0.0', '<')) { - ?><p class="error">Require PHP version 5 or greater.</p><?php + if (version_compare(PHP_VERSION, '5.2.3', '<')) { + ?><p class="error">Require PHP version 5.2.3 or greater.</p><?php $pass = false; } |