From 773706d8215bcbba83d107aff6cf62a19a9692c2 Mon Sep 17 00:00:00 2001 From: ralf Date: Tue, 13 Dec 2022 07:29:03 -0600 Subject: [PATCH] set required PHP version for master/23.1 to 8.0, as 7.4 no longer works/is supported --- api/src/loader.php | 2 +- setup/inc/class.setup.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/loader.php b/api/src/loader.php index 88218ee077..e55c4ed1ba 100644 --- a/api/src/loader.php +++ b/api/src/loader.php @@ -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.4'; +$egw_min_php_version = '8.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.
Please contact your System Administrator to upgrade PHP!"); diff --git a/setup/inc/class.setup.inc.php b/setup/inc/class.setup.inc.php index aaeced847a..c4d0b06b28 100644 --- a/setup/inc/class.setup.inc.php +++ b/setup/inc/class.setup.inc.php @@ -70,7 +70,7 @@ class setup * * @var float */ - var $required_php_version = 7.4; + var $required_php_version = 8.0; /** * PHP Version recommended for EGroupware *