summaryrefslogtreecommitdiff
path: root/php.ini-dist
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-dist
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-dist')
-rw-r--r--php.ini-dist10
1 files changed, 10 insertions, 0 deletions
diff --git a/php.ini-dist b/php.ini-dist
index 4d9d486410..a96b7c5766 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -256,6 +256,16 @@ error_reporting = E_ALL & ~E_NOTICE
; 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!)
+;
+;display_errors = "stderr"
+;
+; stdout (On) - Display errors to STDOUT
+;
display_errors = On
; Even when display_errors is on, errors that occur during PHP's startup