From 9d817f0c776cc403155be7cf188d2ff03948e800 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Wed, 31 Jan 2018 10:44:17 +0000 Subject: [PATCH] =?UTF-8?q?N=C2=B0942=20new=20requirements=20for=20iTop=20?= =?UTF-8?q?2.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SVN:trunk[5301] --- setup/setuputils.class.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/setuputils.class.inc.php b/setup/setuputils.class.inc.php index 5da882de7..307d4b8b4 100644 --- a/setup/setuputils.class.inc.php +++ b/setup/setuputils.class.inc.php @@ -49,15 +49,15 @@ class CheckResult class SetupUtils { // -- Minimum versions (requirements : forbids installation if not met) - const PHP_MIN_VERSION = '5.3.6'; - const MYSQL_MIN_VERSION = '5.0.0'; + const PHP_MIN_VERSION = '5.6.0'; + const MYSQL_MIN_VERSION = '5.5.3'; // -- versions that will be the minimum in next iTop major release (warning if not met) const PHP_NEXT_MIN_VERSION = '5.6.0'; // 5.6 will be supported since the end of 2018 (see http://php.net/supported-versions.php) const MYSQL_NEXT_MIN_VERSION = '5.5.3'; // 5.5 branch that is shipped with most distribution, and 5.5.3 to have utf8mb4 (see N°942) // -- First recent version that is not yet validated by Combodo (warning) const PHP_NOT_VALIDATED_VERSION = '7.2.0'; - const MIN_MEMORY_LIMIT = 33554432; // = 32*1024*1024 Beware: Computations are not allowed in defining constants + const MIN_MEMORY_LIMIT = 32 * 1024 * 1024; const SUHOSIN_GET_MAX_VALUE_LENGTH = 2048; /**