From: foobar Date: Sun, 27 May 2007 18:04:10 +0000 (+0000) Subject: MFH: add missing entries, these are in PHP_4_4 branch.. X-Git-Tag: php-5.2.3~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26c60afb5dee3393844ded3da07a7206cb88dadb;p=php MFH: add missing entries, these are in PHP_4_4 branch.. --- 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 diff --git a/php.ini-recommended b/php.ini-recommended index 743e78d6b7..9f6b6f6910 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -544,6 +544,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=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