N°5109 update PHP requirements from 5.6 to 7.0

No embedded libs supports all versions from PHP 5.6 to 8.0 included :/
7.0.8 is required for our Symfony version (updated with N°4770)
This commit is contained in:
Pierre Goiffon
2022-04-20 17:22:35 +02:00
parent 11e811cc4b
commit b9ddadeb44
2 changed files with 5 additions and 5 deletions

View File

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

View File

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