summaryrefslogtreecommitdiff
path: root/php.ini-dist
diff options
context:
space:
mode:
Diffstat (limited to 'php.ini-dist')
-rw-r--r--php.ini-dist14
1 files changed, 12 insertions, 2 deletions
diff --git a/php.ini-dist b/php.ini-dist
index a8d96b13b..006ea5949 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -309,6 +309,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
@@ -500,7 +510,7 @@ enable_dl = On
; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
; this to 1 will cause PHP CGI to fix it's paths to conform to the spec. A setting
-; of zero causes PHP to behave as before. Default is zero. You should fix your scripts
+; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
; cgi.fix_pathinfo=0
@@ -512,7 +522,7 @@ enable_dl = On
; fastcgi.impersonate = 1;
; Disable logging through FastCGI connection
-; fastcgi.log = 0
+; fastcgi.logging = 0
; cgi.rfc2616_headers configuration option tells PHP what type of headers to
; use when sending HTTP response code. If it's set 0 PHP sends Status: header that