aboutsummaryrefslogtreecommitdiffstats
path: root/lib/versioncheck.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-08-10 15:52:20 +0200
committerDaniel <mail@danielkesselberg.de>2023-09-30 22:52:57 +0200
commit1daa881b031c968d260e8f1bce9fd5dfdac8acbc (patch)
tree38809770118df131138858c6b1f3b2a6f4a87ab4 /lib/versioncheck.php
parentee590ab5a9762630bae830f20e6310a013a2f51d (diff)
downloadnextcloud-server-1daa881b031c968d260e8f1bce9fd5dfdac8acbc.tar.gz
nextcloud-server-1daa881b031c968d260e8f1bce9fd5dfdac8acbc.zip
Allow PHP 8.3 in version check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/versioncheck.php')
-rw-r--r--lib/versioncheck.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/versioncheck.php b/lib/versioncheck.php
index 8869fe95453..29c278370cd 100644
--- a/lib/versioncheck.php
+++ b/lib/versioncheck.php
@@ -33,10 +33,10 @@ if (PHP_VERSION_ID < 80000) {
exit(1);
}
-// Show warning if >= PHP 8.3 is used as Nextcloud is not compatible with >= PHP 8.3 for now
-if (PHP_VERSION_ID >= 80300) {
+// Show warning if >= PHP 8.4 is used as Nextcloud is not compatible with >= PHP 8.4 for now
+if (PHP_VERSION_ID >= 80400) {
http_response_code(500);
- echo 'This version of Nextcloud is not compatible with PHP>=8.3.<br/>';
+ echo 'This version of Nextcloud is not compatible with PHP>=8.4.<br/>';
echo 'You are currently running ' . PHP_VERSION . '.';
exit(1);
}