diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2022-10-09 23:14:47 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2022-10-09 23:14:47 +0300 |
commit | 2f58a31dc6e4150d98636a8b7d3f8cf6b2b31d5e (patch) | |
tree | 41439df049f5d414667d224da657066564d19fc0 | |
parent | 00485eff56436dca388127c557712ab0b00666e7 (diff) |
Drop php 7.4 supportkill_php_74
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r-- | lib/versioncheck.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/versioncheck.php b/lib/versioncheck.php index 8477442935a..6a5bda54055 100644 --- a/lib/versioncheck.php +++ b/lib/versioncheck.php @@ -26,9 +26,9 @@ declare(strict_types=1); * */ // Show warning if a PHP version below 7.4 is used, -if (PHP_VERSION_ID < 70400) { +if (PHP_VERSION_ID < 80000) { http_response_code(500); - echo 'This version of Nextcloud requires at least PHP 7.4<br/>'; + echo 'This version of Nextcloud requires at least PHP 8.0<br/>'; echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.'; exit(1); } |