]> git.wh0rd.org - tt-rss.git/blobdiff - install/index.php
sanity_check: enforce minimum php version (5.4)
[tt-rss.git] / install / index.php
index 74ea65652549a97771639df869485b6b10a4e4fe..bfbb7e23491e72dad4e92e5508214d96bae5bf28 100755 (executable)
@@ -39,8 +39,8 @@
        function sanity_check($db_type) {
                $errors = array();
 
-               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 (!function_exists("curl_init") && !ini_get("allow_url_fopen")) {