diff --git a/lib/versioncheck.php b/lib/versioncheck.php
index 404bae8b19..2f761ba6e3 100644
--- a/lib/versioncheck.php
+++ b/lib/versioncheck.php
@@ -22,10 +22,10 @@
* along with this program. If not, see .
*
*/
-// Show warning if a PHP version below 7.2 is used,
-if (PHP_VERSION_ID < 70200) {
+// Show warning if a PHP version below 7.3 is used,
+if (PHP_VERSION_ID < 70300) {
http_response_code(500);
- echo 'This version of Nextcloud requires at least PHP 7.2
';
+ echo 'This version of Nextcloud requires at least PHP 7.3
';
echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
exit(-1);
}