summaryrefslogtreecommitdiff
path: root/php.ini-dist
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2007-05-27 18:04:10 +0000
committerfoobar <sniper@php.net>2007-05-27 18:04:10 +0000
commit26c60afb5dee3393844ded3da07a7206cb88dadb (patch)
tree3aafe4a55daba9e74c3bbca19d4c60719ac68f27 /php.ini-dist
parent47216d7de438d2ab6874c9f26efe8c814c832bdf (diff)
downloadphp-git-26c60afb5dee3393844ded3da07a7206cb88dadb.tar.gz
MFH: add missing entries, these are in PHP_4_4 branch..
Diffstat (limited to 'php.ini-dist')
-rw-r--r--php.ini-dist8
1 files changed, 8 insertions, 0 deletions
diff --git a/php.ini-dist b/php.ini-dist
index da2d013eb3..a8d96b13b0 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -496,6 +496,14 @@ enable_dl = On
; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
; cgi.redirect_status_env = ;
+; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
+; 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
+; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
+; cgi.fix_pathinfo=0
+
; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
; security tokens of the calling client. This allows IIS to define the
; security context that the request runs under. mod_fastcgi under Apache