From 81e974e61ab010e12e60174be4e07f9bdeb933f9 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Mon, 10 Jan 2022 22:20:53 +0100 Subject: Require PHP 7.2 moonmoon now supports PHP 7.2 to 8.1. --- install.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'install.php') 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 = '
  • Check your server documentation to activate at least PHP 5.6
  • '; + $strInstall = installStatus('Server is running at least PHP 7.2', 'FAIL',false); + $strRecommendation = '
  • Check your server documentation to activate at least PHP 7.2
  • '; } // Writable file requirements -- cgit v1.2.1