aboutsummaryrefslogtreecommitdiffstats
path: root/lib/versioncheck.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/versioncheck.php')
-rw-r--r--lib/versioncheck.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/versioncheck.php b/lib/versioncheck.php
index 3e840ff5b46..8477442935a 100644
--- a/lib/versioncheck.php
+++ b/lib/versioncheck.php
@@ -25,10 +25,10 @@ declare(strict_types=1);
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
-// Show warning if a PHP version below 7.3 is used,
-if (PHP_VERSION_ID < 70300) {
+// Show warning if a PHP version below 7.4 is used,
+if (PHP_VERSION_ID < 70400) {
http_response_code(500);
- echo 'This version of Nextcloud requires at least PHP 7.3<br/>';
+ echo 'This version of Nextcloud requires at least PHP 7.4<br/>';
echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
exit(1);
}