mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
set required PHP version for master/23.1 to 8.0, as 7.4 no longer works/is supported
This commit is contained in:
parent
6c4c42bcde
commit
773706d821
@ -25,7 +25,7 @@ use EGroupware\Api\Egw;
|
|||||||
// --> switching it off for now, as it makes error-log unusable
|
// --> switching it off for now, as it makes error-log unusable
|
||||||
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
|
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
|
||||||
|
|
||||||
$egw_min_php_version = '7.4';
|
$egw_min_php_version = '8.0';
|
||||||
if (!function_exists('version_compare') || version_compare(PHP_VERSION,$egw_min_php_version) < 0)
|
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!");
|
die("EGroupware requires PHP $egw_min_php_version or greater.<br />Please contact your System Administrator to upgrade PHP!");
|
||||||
|
@ -70,7 +70,7 @@ class setup
|
|||||||
*
|
*
|
||||||
* @var float
|
* @var float
|
||||||
*/
|
*/
|
||||||
var $required_php_version = 7.4;
|
var $required_php_version = 8.0;
|
||||||
/**
|
/**
|
||||||
* PHP Version recommended for EGroupware
|
* PHP Version recommended for EGroupware
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user