summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-08-13 16:04:09 +0300
committerAndrew Dolgov <[email protected]>2018-08-13 16:04:09 +0300
commit848c6ac65547bb50ba58f0b32f80afd0494e771c (patch)
treeb30c9bc25cdf6b5310ebf78a6d74c51db06c10ca /include
parent069aea5989ec7fe4090cf3f1151f99476fa038be (diff)
bump required php version to 5.6
Diffstat (limited to 'include')
-rwxr-xr-xinclude/sanity_check.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sanity_check.php b/include/sanity_check.php
index 5166adee0..8f7521756 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) {