X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=index.php;h=3b0962f02e20cac66cace1d782672757ce14852b;hb=fbff72e081e812926f89e608cf7af1b7d8c841cb;hp=c3fe770f59e73880b7f4daf63ec57763f717bb61;hpb=5bbc4bb4b04519036946db961ddea551fdf2eb6c;p=tt-rss.git diff --git a/index.php b/index.php index c3fe770f..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; } @@ -55,15 +55,20 @@