From 848c6ac65547bb50ba58f0b32f80afd0494e771c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 13 Aug 2018 16:04:09 +0300 Subject: [PATCH] bump required php version to 5.6 --- include/sanity_check.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sanity_check.php b/include/sanity_check.php index 5166adee..8f752175 100755 --- a/include/sanity_check.php +++ b/include/sanity_check.php @@ -46,8 +46,8 @@ array_push($errors, "Please don't run this script as root."); } - if (version_compare(PHP_VERSION, '5.4.0', '<')) { - array_push($errors, "PHP version 5.4.0 or newer required."); + if (version_compare(PHP_VERSION, '5.6.0', '<')) { + array_push($errors, "PHP version 5.6.0 or newer required."); } if (CONFIG_VERSION != EXPECTED_CONFIG_VERSION) { -- 2.39.2