From fd1c2ef698ae1471019fd499e09cdfb0e95989ae Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 10 Sep 2020 11:10:38 +0200 Subject: [PATCH] Nextcloud 21 runs on PHP 7.3+ only Signed-off-by: Morris Jobke --- lib/versioncheck.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/versioncheck.php b/lib/versioncheck.php index 404bae8b191..2f761ba6e37 100644 --- a/lib/versioncheck.php +++ b/lib/versioncheck.php @@ -22,10 +22,10 @@ * along with this program. If not, see . * */ -// Show warning if a PHP version below 7.2 is used, -if (PHP_VERSION_ID < 70200) { +// Show warning if a PHP version below 7.3 is used, +if (PHP_VERSION_ID < 70300) { http_response_code(500); - echo 'This version of Nextcloud requires at least PHP 7.2
'; + echo 'This version of Nextcloud requires at least PHP 7.3
'; echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.'; exit(-1); }