From 4a8b49c50e7c29b7918f8919b27805aa800a9d79 Mon Sep 17 00:00:00 2001 From: Ihor Sviziev Date: Wed, 24 Nov 2021 16:56:50 +0200 Subject: [PATCH] Fix incorrect php version check in bootstrap --- app/bootstrap.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/bootstrap.php b/app/bootstrap.php index 87ab01fe7dfb2..a67969589818d 100644 --- a/app/bootstrap.php +++ b/app/bootstrap.php @@ -14,14 +14,14 @@ #ini_set('display_errors', 1); /* PHP version validation */ -if (!defined('PHP_VERSION_ID') || PHP_VERSION_ID < 70300) { +if (!defined('PHP_VERSION_ID') || PHP_VERSION_ID < 70400) { if (PHP_SAPI == 'cli') { - echo 'Magento supports PHP 7.3.0 or later. ' . + echo 'Magento supports PHP 7.4.0 or later. ' . 'Please read https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements-tech.html'; } else { echo << -

Magento supports PHP 7.3.0 or later. Please read +

Magento supports PHP 7.4.0 or later. Please read Magento System Requirements.