# display_errors=stderr is treated as display_errors=on

- Thread: https://externals.io/message/60280
- Original archive: https://news-web.php.net/php.internals/60280
- Started by Franklin Tse on 2012-04-24T14:35:02+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #60280 — Franklin Tse — 2012-04-24T14:35:02+00:00

URL: https://externals.io/message/60280#60280

Hello,

I have PHP 5.4.0 running on IIS 7.5, of which the stderrMode setting has been ReturnStdErrIn500. A 500 response is expected when display_errors is set to stderr. However, a 200 response with error message is returned and instead of stderr, on is displayed in phpinfo.

A bug report was filed at https://bugs.php.net/bug.php?id=61556, but it was marked as "not a bug".

Is that an expected behavior?

Thanks,
Franklin
