set required PHP version for master/23.1 to 8.0, as 7.4 no longer works/is supported

This commit is contained in:
ralf 2022-12-13 07:29:03 -06:00
parent 6c4c42bcde
commit 773706d821
2 changed files with 2 additions and 2 deletions

View File

@ -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!");

View File

@ -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
* *