set minimum PHP version for 21.1 to 7.3 and recommend to 7.4 (PHP 8.0 is still NOT supported)

This commit is contained in:
Ralf Becker 2021-03-24 08:04:54 +01:00
parent 65c61c0625
commit 05cd66fa09
2 changed files with 5 additions and 5 deletions

View File

@ -29,7 +29,7 @@ if (function_exists('get_magic_quotes_runtime') && get_magic_quotes_runtime())
set_magic_quotes_runtime(false);
}
$egw_min_php_version = '7.1';
$egw_min_php_version = '7.3';
if (!function_exists('version_compare') || version_compare(PHP_VERSION,$egw_min_php_version) < 0)
{
die("EGroupware requires PHP $egw_min_php_version or greater.<br />Please contact your System Administrator to upgrade PHP!");

View File

@ -60,17 +60,17 @@ class setup
var $tbl_hooks;
/**
* php version required by eGroupware
* php version required by EGroupware
*
* @var float
*/
var $required_php_version = 7.1;
var $required_php_version = 7.3;
/**
* PHP Version recommended for eGroupware
* PHP Version recommended for EGroupware
*
* @var string
*/
var $recommended_php_version = '7.3';
var $recommended_php_version = '7.4';
function __construct($html=False, $translation=False)
{