summaryrefslogtreecommitdiff
path: root/php.ini-recommended
diff options
context:
space:
mode:
Diffstat (limited to 'php.ini-recommended')
-rw-r--r--php.ini-recommended16
1 files changed, 14 insertions, 2 deletions
diff --git a/php.ini-recommended b/php.ini-recommended
index 9f6b6f691..41d29569c 100644
--- a/php.ini-recommended
+++ b/php.ini-recommended
@@ -357,6 +357,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
@@ -548,7 +560,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=1
@@ -560,7 +572,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