N°5122 - Change PHP min. version to 7.4.0

This commit is contained in:
Molkobain
2022-08-08 13:58:15 +02:00
parent 95c43adc4e
commit 30021d9236
2 changed files with 5 additions and 5 deletions

View File

@@ -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": {

View File

@@ -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';