From 403dca154c6b539de221f9e16174a0fdd0a1e896 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 5 Feb 2021 23:41:32 +0300 Subject: initial WIP for php8; bump php version requirement to 7.0 --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index be0b279ef..c10b21e5c 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.6.0', '<')) { - print "Fatal Error: PHP version 5.6.0 or newer required. You're using " . PHP_VERSION . ".\n"; + if (version_compare(PHP_VERSION, '7.0.0', '<')) { + print "Fatal Error: PHP version 7.0.0 or newer required. You're using " . PHP_VERSION . ".\n"; exit; } @@ -262,7 +262,7 @@ } ?> - +
-- cgit v1.2.3