diff options
author | Andrew Dolgov <[email protected]> | 2021-02-05 23:41:32 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-05 23:41:32 +0300 |
commit | 403dca154c6b539de221f9e16174a0fdd0a1e896 (patch) | |
tree | 8187096f0e04ecb60440c8551514d990d0e85b2d /install | |
parent | b4cbc792cc5fbbd5356f91038bf6cf5e67a19e42 (diff) |
initial WIP for php8; bump php version requirement to 7.0
Diffstat (limited to 'install')
-rw-r--r-- | install/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
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")) { |