Skip to content

Commit 5eca240

Browse files
committed
Nextcloud 21 runs on PHP 7.3+ only
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
1 parent cd56302 commit 5eca240

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
@@ -22,10 +22,10 @@
2222
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2323
*
2424
*/
25-
// Show warning if a PHP version below 7.2 is used,
26-
if (PHP_VERSION_ID < 70200) {
25+
// Show warning if a PHP version below 7.3 is used,
26+
if (PHP_VERSION_ID < 70300) {
2727
http_response_code(500);
28-
echo 'This version of Nextcloud requires at least PHP 7.2<br/>';
28+
echo 'This version of Nextcloud requires at least PHP 7.3<br/>';
2929
echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
3030
exit(-1);
3131
}

0 commit comments

Comments
 (0)