Browse Source

bump required php version to 5.6

Andrew Dolgov 1 year ago
parent
commit
848c6ac655
1 changed files with 2 additions and 2 deletions
  1. 2 2
      include/sanity_check.php

+ 2 - 2
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) {