You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If fastcgi.error_header ini is set to for example "HTTP/1.1 500 Internal Server Error" and there is an error in one of the requests, the status code gets changed to the supplied value as expected. However this value is then kept for subsequent requests in the same child. That means that if the subsequent request is successful (it can be a completely different script as well), it still uses 500 status which is of course not what would users expect.
PHP Version
Tested on PHP 8.1 but likely present in PHP 7 and PHP 5 as well.
Operating System
No response
The text was updated successfully, but these errors were encountered:
Description
If
fastcgi.error_header
ini is set to for example"HTTP/1.1 500 Internal Server Error"
and there is an error in one of the requests, the status code gets changed to the supplied value as expected. However this value is then kept for subsequent requests in the same child. That means that if the subsequent request is successful (it can be a completely different script as well), it still uses 500 status which is of course not what would users expect.PHP Version
Tested on PHP 8.1 but likely present in PHP 7 and PHP 5 as well.
Operating System
No response
The text was updated successfully, but these errors were encountered: