summaryrefslogtreecommitdiff
path: root/php.ini-recommended
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2007-05-27 18:04:32 +0000
committerfoobar <sniper@php.net>2007-05-27 18:04:32 +0000
commit14108480eb500817a4397a7e6f8f05f8f5bdd81b (patch)
treed2d886c1af55b49c8f6771fdc82a8838c09e23ff /php.ini-recommended
parent72b487894fc2d978e7369adb7f1321fb0d110451 (diff)
downloadphp-git-14108480eb500817a4397a7e6f8f05f8f5bdd81b.tar.gz
- Add missing entry
Diffstat (limited to 'php.ini-recommended')
-rw-r--r--php.ini-recommended8
1 files changed, 8 insertions, 0 deletions
diff --git a/php.ini-recommended b/php.ini-recommended
index f7d23ebf37..34bf87e9f0 100644
--- a/php.ini-recommended
+++ b/php.ini-recommended
@@ -456,6 +456,14 @@ extension_dir = "./"
; 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=1
+
; 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