# [PATCH] Allow changing default output for errors to STDERR instead of default STDOUT

- Thread: https://externals.io/message/31054
- Original archive: https://news-web.php.net/php.internals/31054
- Started by Jani Taskinen on 2007-07-18T15:21:23+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

---

## #31054 — Jani Taskinen — 2007-07-18T15:21:23+00:00

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

Attached patch (if it comes through, Ins Allah :) overloads the
display_errors directive to accept 'stderr' as parameter which makes the
errors output to `STDERR` on CLI/CGI. 

Applies to PHP_5_2 branch. Default is still STDOUT.

--Jani
