Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/versioncheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
*
*/
// Show warning if a PHP version below 7.4 is used,
if (PHP_VERSION_ID < 70400) {
if (PHP_VERSION_ID < 80000) {
http_response_code(500);
echo 'This version of Nextcloud requires at least PHP 7.4<br/>';
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);
}
Expand Down