X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=index.php;h=3b0962f02e20cac66cace1d782672757ce14852b;hb=fd752a79af51ee5403f9eb7953855bd715a1ec71;hp=8dae2831ffa037ad1d4f5d1dfeb8fc81003ecd10;hpb=6938c03658b69a214d9df95c0c4a3c9d4f6e236f;p=tt-rss.git diff --git a/index.php b/index.php index 8dae2831..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,16 +55,20 @@