summaryrefslogtreecommitdiff
path: root/include/sanity_check.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/sanity_check.php')
-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) {