]> git.wh0rd.org - tt-rss.git/blobdiff - include/sanity_check.php
sanity_check: enforce minimum php version (5.4)
[tt-rss.git] / include / sanity_check.php
index be314f4e2497754e4b7634a741536f65852ba8bb..7ca7519c6316e2d1da6a48899ab7dedcd448b6e9 100755 (executable)
@@ -43,8 +43,8 @@
                                array_push($errors, "Please don't run this script as root.");
                        }
 
-                       if (version_compare(PHP_VERSION, '5.3.0', '<')) {
-                               array_push($errors, "PHP version 5.3.0 or newer required.");
+                       if (version_compare(PHP_VERSION, '5.4.0', '<')) {
+                               array_push($errors, "PHP version 5.4.0 or newer required.");
                        }
 
                        if (CONFIG_VERSION != EXPECTED_CONFIG_VERSION) {