mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
setting minimum version for 22.1 to PHP 7.4, recommended and maximum version to PHP 8.1
This commit is contained in:
parent
7072f96244
commit
1260203755
@ -25,7 +25,7 @@ use EGroupware\Api\Egw;
|
||||
// --> switching it off for now, as it makes error-log unusable
|
||||
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
|
||||
|
||||
$egw_min_php_version = '7.3';
|
||||
$egw_min_php_version = '7.4';
|
||||
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!");
|
||||
|
@ -45,7 +45,7 @@
|
||||
],
|
||||
"config": {
|
||||
"platform": {
|
||||
"php": "7.3"
|
||||
"php": "7.4"
|
||||
},
|
||||
"preferred-install": {
|
||||
"egroupware/*": "source",
|
||||
@ -62,7 +62,7 @@
|
||||
}
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.3,<=8.1",
|
||||
"php": ">=7.4,<=8.1",
|
||||
"ext-gd": "*",
|
||||
"ext-json": "*",
|
||||
"ext-mysqli": "*",
|
||||
|
@ -70,13 +70,13 @@ class setup
|
||||
*
|
||||
* @var float
|
||||
*/
|
||||
var $required_php_version = 7.3;
|
||||
var $required_php_version = 7.4;
|
||||
/**
|
||||
* PHP Version recommended for EGroupware
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
var $recommended_php_version = '7.4';
|
||||
var $recommended_php_version = '8.1';
|
||||
|
||||
function __construct($html=False, $translation=False)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user