From: Andrew Dolgov Date: Mon, 13 Aug 2018 13:04:09 +0000 (+0300) Subject: bump required php version to 5.6 X-Git-Tag: 18.8~1 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=848c6ac65547bb50ba58f0b32f80afd0494e771c;p=tt-rss.git bump required php version to 5.6 --- 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) {