diff options
author | nashe <thomas@chauchefoin.fr> | 2017-07-08 00:38:16 +0100 |
---|---|---|
committer | nashe <thomas@chauchefoin.fr> | 2017-07-08 00:38:16 +0100 |
commit | 6d86d08e68953733e659892b45d430733977d58a (patch) | |
tree | 89fd52d6cb9b854f844f4706bd019a01f0b8e64f /install.php | |
parent | 07203a1583f2141e1c931ef122f86e10a3fd8009 (diff) | |
download | planet-6d86d08e68953733e659892b45d430733977d58a.tar planet-6d86d08e68953733e659892b45d430733977d58a.tar.gz planet-6d86d08e68953733e659892b45d430733977d58a.tar.bz2 planet-6d86d08e68953733e659892b45d430733977d58a.tar.xz planet-6d86d08e68953733e659892b45d430733977d58a.zip |
Require PHP 5.6
Do not try to support EOL versions of PHP.
Diffstat (limited to 'install.php')
-rwxr-xr-x | install.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/install.php b/install.php index 6a206fc..07437d3 100755 --- a/install.php +++ b/install.php @@ -48,12 +48,12 @@ if (file_exists(__DIR__ . '/custom/config.yml') && isset($login) && isset($passw } else { // We start by malking sure we have PHP5 as a base requirement - if(version_compare(PHP_VERSION, '5.4.0') >= 0) { - $strInstall = installStatus('Server is running at least PHP 5.4', 'OK',true); + if(version_compare(PHP_VERSION, '5.6.0') >= 0) { + $strInstall = installStatus('Server is running at least PHP 5.6', 'OK',true); $strRecommendation = ''; } else { - $strInstall = installStatus('Server is running at least PHP 5.4', 'FAIL',false); - $strRecommendation = '<li>Check your server documentation to activate at least PHP 5.4</li>'; + $strInstall = installStatus('Server is running at least PHP 5.6', 'FAIL',false); + $strRecommendation = '<li>Check your server documentation to activate at least PHP 5.6</li>'; } // Writable file requirements |