mirror of
https://github.com/nextcloud/server.git
synced 2026-02-19 02:38:40 -05:00
feat(PHP): Allow PHP 8.4
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
2ec74f9dc1
commit
dcddfc672a
1 changed files with 3 additions and 3 deletions
|
|
@ -13,10 +13,10 @@ if (PHP_VERSION_ID < 80100) {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
// Show warning if >= PHP 8.4 is used as Nextcloud is not compatible with >= PHP 8.4 for now
|
||||
if (PHP_VERSION_ID >= 80400) {
|
||||
// Show warning if >= PHP 8.5 is used as Nextcloud is not compatible with >= PHP 8.5 for now
|
||||
if (PHP_VERSION_ID >= 80500) {
|
||||
http_response_code(500);
|
||||
echo 'This version of Nextcloud is not compatible with PHP>=8.4.<br/>';
|
||||
echo 'This version of Nextcloud is not compatible with PHP>=8.5.<br/>';
|
||||
echo 'You are currently running ' . PHP_VERSION . '.';
|
||||
exit(1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue