X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;ds=sidebyside;f=index.php;h=9be7d5ccc35f25197911e50b289cbafe7ce31f12;hb=HEAD;hp=db79629087315f1ba19a7c2f822c6090a1a23ed1;hpb=08820be70b4d5cbe66e9ca9d5986c429c5186ca5;p=tt-rss.git diff --git a/index.php b/index.php index db796290..9be7d5cc 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,16 +55,20 @@