diff options
author | Romain d'Alverny <rdalverny@gmail.com> | 2022-01-10 22:20:53 +0100 |
---|---|---|
committer | Romain d'Alverny <rdalverny@gmail.com> | 2022-01-10 22:20:53 +0100 |
commit | 81e974e61ab010e12e60174be4e07f9bdeb933f9 (patch) | |
tree | 527230df8e8ceaa49a8767a12239a6bbbe713f4f /install.php | |
parent | ee9c408f719491ecb7947d83994bed1803a988e8 (diff) | |
download | planet-81e974e61ab010e12e60174be4e07f9bdeb933f9.tar planet-81e974e61ab010e12e60174be4e07f9bdeb933f9.tar.gz planet-81e974e61ab010e12e60174be4e07f9bdeb933f9.tar.bz2 planet-81e974e61ab010e12e60174be4e07f9bdeb933f9.tar.xz planet-81e974e61ab010e12e60174be4e07f9bdeb933f9.zip |
Require PHP 7.2
moonmoon now supports PHP 7.2 to 8.1.
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 86e1123..f7287e4 100755 --- a/install.php +++ b/install.php @@ -41,12 +41,12 @@ if (is_installed()) { } else { // We start by malking sure we have PHP5 as a base requirement - if(version_compare(PHP_VERSION, '5.6.0') >= 0) { - $strInstall = installStatus('Server is running at least PHP 5.6', 'OK',true); + if(version_compare(PHP_VERSION, '7.2.0') >= 0) { + $strInstall = installStatus('Server is running at least PHP 7.2', 'OK',true); $strRecommendation = ''; } else { - $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>'; + $strInstall = installStatus('Server is running at least PHP 7.2', 'FAIL',false); + $strRecommendation = '<li>Check your server documentation to activate at least PHP 7.2</li>'; } // Writable file requirements |