From c4869cd57330a46099207516986ef171744adaf5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 13 Aug 2018 20:13:08 +0300 Subject: if PHP_VERSION check fails, show current version --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index f9e26204e..0280a0728 100644 --- a/index.php +++ b/index.php @@ -12,7 +12,7 @@ // 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.6.0', '<')) { - print "Fatal Error: PHP version 5.6.0 or newer required.\n"; + print "Fatal Error: PHP version 5.6.0 or newer required. You're using " . PHP_VERSION . ".\n"; exit; } -- cgit v1.2.3-54-g00ecf