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 --- include/sanity_check.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sanity_check.php') diff --git a/include/sanity_check.php b/include/sanity_check.php index 8f7521756..460bd0ba7 100755 --- a/include/sanity_check.php +++ b/include/sanity_check.php @@ -47,7 +47,7 @@ } if (version_compare(PHP_VERSION, '5.6.0', '<')) { - array_push($errors, "PHP version 5.6.0 or newer required."); + array_push($errors, "PHP version 5.6.0 or newer required. You're using " . PHP_VERSION . "."); } if (CONFIG_VERSION != EXPECTED_CONFIG_VERSION) { -- cgit v1.2.3