summaryrefslogtreecommitdiff
path: root/php.ini-recommended
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2007-07-24 14:18:47 +0000
committerJani Taskinen <jani@php.net>2007-07-24 14:18:47 +0000
commite5b9fd0d6cd9a16984313ee553a2ff2b4f490df6 (patch)
tree3dc273b3bfb56785caa02b1de017aa0dbb912e16 /php.ini-recommended
parentcc745f1724e77438dab5d3b22d1a55dc7e33bfe4 (diff)
downloadphp-git-e5b9fd0d6cd9a16984313ee553a2ff2b4f490df6.tar.gz
- Changed "display_errors" php.ini option to accept "stderr" as value which
makes the error messages to be outputted to STDERR instead of STDOUT with CGI and CLI SAPIs.
Diffstat (limited to 'php.ini-recommended')
-rw-r--r--php.ini-recommended12
1 files changed, 12 insertions, 0 deletions
diff --git a/php.ini-recommended b/php.ini-recommended
index 7cc66e6097..8a60fd10dc 100644
--- a/php.ini-recommended
+++ b/php.ini-recommended
@@ -292,6 +292,18 @@ error_reporting = E_ALL
; instead (see below). Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
+;
+; possible values for display_errors:
+;
+; Off - Do not display any errors
+; stderr - Display errors to STDERR (affects only CGI/CLI binaries!)
+; On or stdout - Display errors to STDOUT (default)
+;
+; To output errors to STDERR with CGI/CLI:
+;display_errors = "stderr"
+;
+; Default
+;
display_errors = Off
; Even when display_errors is on, errors that occur during PHP's startup