From 397892effae65641b44f9242530da9475d4ea52d Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sat, 22 Feb 2020 11:13:23 +0100 Subject: [PATCH] Minimum version : PHP 7.0 and PostgreSQL 9.5 --- html/install.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/html/install.php b/html/install.php index c8b188dcd..b56adf76c 100644 --- a/html/install.php +++ b/html/install.php @@ -316,8 +316,8 @@ if (!defined('PHP_VERSION_ID')) { define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + $version[2])); } -if ( PHP_VERSION_ID < 50500) { - echo $g_failed. " ".phpversion." ". _("Version PHP trop basse , minimum 5.4"); +if ( PHP_VERSION_ID < 70033) { + echo $g_failed. " ".phpversion." ". _("Version PHP trop basse , minimum 7.0.33"); } else { echo $g_succeed. " ".phpversion(); @@ -420,10 +420,10 @@ $version=$cn->get_value($sql); echo _("Version base de données :"),$version; $majeur=explode(".",$version); -if ( $majeur[0] < 9 ) +if ( $majeur[0] < 9 && $majeur[0] < 5 ) { ?> -