From 1b002165c4fdf309ae9ac9dd3b916de2ea01a902 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 16 Jul 2019 11:00:16 +0200 Subject: [PATCH] setting required PHP version to 7.2 and recommended to 7.3 --- api/src/loader.php | 3 +-- setup/inc/class.setup.inc.php | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/api/src/loader.php b/api/src/loader.php index aea7c0b492..9c4c2f9ebf 100644 --- a/api/src/loader.php +++ b/api/src/loader.php @@ -14,7 +14,6 @@ * @author Ralf Becker * @package api * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License - * @version $Id$ */ use EGroupware\Api\Session; @@ -30,7 +29,7 @@ if (function_exists('get_magic_quotes_runtime') && get_magic_quotes_runtime()) set_magic_quotes_runtime(false); } -$egw_min_php_version = '5.6'; +$egw_min_php_version = '7.2'; 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 8a888d45c0..9708529a63 100644 --- a/setup/inc/class.setup.inc.php +++ b/setup/inc/class.setup.inc.php @@ -64,13 +64,13 @@ class setup * * @var float */ - var $required_php_version = 5.6; + var $required_php_version = 7.2; /** * PHP Version recommended for eGroupware * * @var string */ - var $recommended_php_version = '7.0'; + var $recommended_php_version = '7.3'; function __construct($html=False, $translation=False) {