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 --- install/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install') diff --git a/install/index.php b/install/index.php index 6ff8acfbc..0859fc4d7 100644 --- a/install/index.php +++ b/install/index.php @@ -84,8 +84,8 @@ function sanity_check($db_type) { $errors = array(); - if (version_compare(PHP_VERSION, '5.6.0', '<')) { - array_push($errors, "PHP version 5.6.0 or newer required. You're using " . PHP_VERSION . "."); + if (version_compare(PHP_VERSION, '7.0.0', '<')) { + array_push($errors, "PHP version 7.0.0 or newer required. You're using " . PHP_VERSION . "."); } if (!function_exists("curl_init") && !ini_get("allow_url_fopen")) { -- cgit v1.2.3