X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=index.php;h=f3e5928dd65c3d6e7b6f6a8bcc38818e31441838;hb=f8fc1ac54314dbd22c8673beb15d16780a0fc4c7;hp=222a87ccb8ed8daeb27f136af59ce793fccdbdb0;hpb=f48d89fd58aa25a171f3c4f6ab5c7fdaaae35f02;p=tt-rss.git diff --git a/index.php b/index.php index 222a87cc..f3e5928d 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 @@