123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- declare(strict_types=1);
- if (PHP_VERSION_ID < 80000) {
- http_response_code(500);
- 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);
- }
- if (PHP_VERSION_ID >= 80400) {
- http_response_code(500);
- echo 'This version of Nextcloud is not compatible with PHP>=8.4.<br/>';
- echo 'You are currently running ' . PHP_VERSION . '.';
- exit(1);
- }
|