From b9ddadeb44ab924e7fbc3df50b89d502332d7c29 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Wed, 20 Apr 2022 17:22:35 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B05109=20update=20PHP=20requirements=20fro?= =?UTF-8?q?m=205.6=20to=207.0=20No=20embedded=20libs=20supports=20all=20ve?= =?UTF-8?q?rsions=20from=20PHP=205.6=20to=208.0=20included=20:/=207.0.8=20?= =?UTF-8?q?is=20required=20for=20our=20Symfony=20version=20(updated=20with?= =?UTF-8?q?=20N=C2=B04770)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 4 ++-- setup/setuputils.class.inc.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 1da0fd1d6..c94bff4a4 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "type": "project", "license": "AGPLv3", "require": { - "php": ">=5.6.0", + "php": ">=7.0.8", "ext-ctype": "*", "ext-dom": "*", "ext-gd": "*", @@ -37,7 +37,7 @@ }, "config": { "platform": { - "php": "5.6.0" + "php": "7.0.8" }, "vendor-dir": "lib", "preferred-install": { diff --git a/setup/setuputils.class.inc.php b/setup/setuputils.class.inc.php index 18b40fd61..c746ca225 100644 --- a/setup/setuputils.class.inc.php +++ b/setup/setuputils.class.inc.php @@ -50,15 +50,15 @@ class CheckResult class SetupUtils { // -- Minimum versions (requirements : forbids installation if not met) - const PHP_MIN_VERSION = '5.6.0'; // 5.6 will be supported until the end of 2018 (see http://php.net/supported-versions.php) + const PHP_MIN_VERSION = '7.0.8'; // 7.0 for embedded libs, see N°3129 const MYSQL_MIN_VERSION = '5.6.0'; // 5.6 to have fulltext on InnoDB for Tags fields (N°931) const MYSQL_NOT_VALIDATED_VERSION = ''; // MySQL 8 is now OK (N°2010 in 2.7.0) but has no query cache so mind the perf on large volumes ! // -- versions that will be the minimum in next iTop major release (warning if not met) - const PHP_NEXT_MIN_VERSION = '7.1.3'; // we are aiming on switching to Symfony 4 in iTop 2.8 + const PHP_NEXT_MIN_VERSION = '7.1.3'; const MYSQL_NEXT_MIN_VERSION = ''; // no new MySQL requirement for next iTop version // -- First recent version that is not yet validated by Combodo (warning) - const PHP_NOT_VALIDATED_VERSION = '7.5.0'; + const PHP_NOT_VALIDATED_VERSION = '8.0.0'; const MIN_MEMORY_LIMIT = '32M'; const SUHOSIN_GET_MAX_VALUE_LENGTH = 2048;