X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=index.php;h=3b0962f02e20cac66cace1d782672757ce14852b;hb=50052fb78a3a9d1bb3fa488e7fd7b23125c38124;hp=b56c021ed82b9e63a9c72380fa5e12c6e1771979;hpb=6bd13fc55f2e23a84e7e11a22ccd23f6e257e161;p=tt-rss.git diff --git a/index.php b/index.php index b56c021e..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,11 +64,11 @@ @@ -110,13 +110,15 @@ } ?> +