summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/versioncheck.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/versioncheck.php b/lib/versioncheck.php
index 8aa68dd35fd..3e840ff5b46 100644
--- a/lib/versioncheck.php
+++ b/lib/versioncheck.php
@@ -33,10 +33,10 @@ if (PHP_VERSION_ID < 70300) {
exit(1);
}
-// Show warning if > PHP 8.1 is used as Nextcloud is not compatible with > PHP 8.1 for now
-if (PHP_VERSION_ID > 80100) {
+// Show warning if >= PHP 8.2 is used as Nextcloud is not compatible with >= PHP 8.2 for now
+if (PHP_VERSION_ID >= 80200) {
http_response_code(500);
- echo 'This version of Nextcloud is not compatible with > PHP 8.1.<br/>';
+ echo 'This version of Nextcloud is not compatible with PHP>=8.2.<br/>';
echo 'You are currently running ' . PHP_VERSION . '.';
exit(1);
}