From: Craig Andrews Date: Fri, 17 Jul 2009 21:54:37 +0000 (-0400) Subject: Require PHP 5.2.3 or later. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8894f957cdd7dc790d9413cfbef28cc4dc1655db;p=quix0rs-gnu-social.git Require PHP 5.2.3 or later. http://laconi.ca/trac/ticket/1605 --- 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.