Skip to content

Commit d25cd42

Browse files
author
Artem Kirkor
committed
Issue #34545 Add HTTP 503 error response
1 parent 28c1f28 commit d25cd42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/bootstrap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
echo 'Magento supports PHP 7.4.0 or later. ' .
2020
'Please read https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements-tech.html';
2121
} else {
22+
http_response_code(503);
2223
echo <<<HTML
2324
<div style="font:12px/1.35em arial, helvetica, sans-serif;">
2425
<p>Magento supports PHP 7.4.0 or later. Please read

0 commit comments

Comments
 (0)