From 30021d92368e2bfb13e4b166967b9a1a43796904 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Mon, 8 Aug 2022 13:58:15 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B05122=20-=20Change=20PHP=20min.=20version?= =?UTF-8?q?=20to=207.4.0?= 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 075fa8d77..c0dd34675 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "project", "license": "AGPL-3.0-only", "require": { - "php": ">=7.2.5 <8.2.0", + "php": ">=7.4.0 <8.2.0", "ext-ctype": "*", "ext-dom": "*", "ext-gd": "*", @@ -42,7 +42,7 @@ }, "config": { "platform": { - "php": "7.2.5" + "php": "7.4.0" }, "vendor-dir": "lib", "preferred-install": { diff --git a/setup/setuputils.class.inc.php b/setup/setuputils.class.inc.php index 0eee86c7d..1070f84bf 100644 --- a/setup/setuputils.class.inc.php +++ b/setup/setuputils.class.inc.php @@ -94,13 +94,13 @@ class CheckResult { class SetupUtils { // -- Minimum versions (requirements : forbids installation if not met) - const PHP_MIN_VERSION = '7.2.5'; + const PHP_MIN_VERSION = '7.4.0'; const MYSQL_MIN_VERSION = '5.7.0'; // 5.6 is no longer supported 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.4.0'; // Allow us to use more modern libs / code; will be default PHP version on main Linux distrib LTS - const MYSQL_NEXT_MIN_VERSION = ''; // no new MySQL requirement for next iTop version + const PHP_NEXT_MIN_VERSION = ''; // No new PHP requirement for next iTop version yet + const MYSQL_NEXT_MIN_VERSION = ''; // No new MySQL requirement for next iTop version yet // -- First recent version that is not yet validated by Combodo (warning) const PHP_NOT_VALIDATED_VERSION = '8.2.0';