mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°5122 - Change PHP min. version to 7.4.0
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user