X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=index.php;h=3b0962f02e20cac66cace1d782672757ce14852b;hb=07fd4f8d9d4f301f5ad88ff9e80f042fc3eb0c36;hp=a1bcd5643570549dbcf34ee1d8dff41f8541b609;hpb=f70d456a5bc509e56991195a2f003cf2714d0e13;p=tt-rss.git diff --git a/index.php b/index.php index a1bcd564..3b0962f0 100644 --- a/index.php +++ b/index.php @@ -11,8 +11,8 @@ // we need a separate check here because functions.php might get parsed // incorrectly before 5.3 because of :: syntax. - if (version_compare(PHP_VERSION, '5.3.0', '<')) { - print "Fatal Error: PHP version 5.3.0 or newer required.\n"; + if (version_compare(PHP_VERSION, '5.6.0', '<')) { + print "Fatal Error: PHP version 5.6.0 or newer required. You're using " . PHP_VERSION . ".\n"; exit; } @@ -64,7 +64,7 @@ +