Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
}
#ini_set('display_errors', 1);

if (PHP_VERSION_ID < 80100) {
if (PHP_VERSION_ID < 80300) {
if (PHP_SAPI === 'cli') {
echo 'Magento supports PHP 8.1.0 or later. ' .
echo 'Magento supports PHP 8.3.0 or later. ' .
'Please read https://experienceleague.adobe.com/docs/commerce-operations/installation-guide/system-requirements.html';
} else {
echo <<<HTML
<div style="font:12px/1.35em arial, helvetica, sans-serif;">
<p>Magento supports PHP 8.1.0 or later. Please read
<p>Magento supports PHP 8.3.0 or later. Please read
<a target="_blank" href="https://experienceleague.adobe.com/docs/commerce-operations/installation-guide/system-requirements.html">
Magento System Requirements</a>.
</div>
Expand Down