Skip to content

Commit 108710f

Browse files
committed
Drop php 7.1 support
18 will be relased when php7.1 is EOL already. So lets kill it! Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
1 parent 8166448 commit 108710f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/versioncheck.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
// Show warning if a PHP version below 7.1 is used,
4-
if (version_compare(PHP_VERSION, '7.1') === -1) {
3+
// Show warning if a PHP version below 7.2 is used,
4+
if (version_compare(PHP_VERSION, '7.2') === -1) {
55
http_response_code(500);
6-
echo 'This version of Nextcloud requires at least PHP 7.1<br/>';
6+
echo 'This version of Nextcloud requires at least PHP 7.2<br/>';
77
echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
88
exit(-1);
99
}

0 commit comments

Comments
 (0)