sniper          Sun May 27 18:04:32 2007 UTC

  Modified files:              
    /php-src    php.ini-dist php.ini-recommended 
  Log:
  - Add missing entry
  
http://cvs.php.net/viewvc.cgi/php-src/php.ini-dist?r1=1.264&r2=1.265&diff_format=u
Index: php-src/php.ini-dist
diff -u php-src/php.ini-dist:1.264 php-src/php.ini-dist:1.265
--- php-src/php.ini-dist:1.264  Tue May 22 13:28:49 2007
+++ php-src/php.ini-dist        Sun May 27 18:04:32 2007
@@ -421,6 +421,14 @@
 ; 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
http://cvs.php.net/viewvc.cgi/php-src/php.ini-recommended?r1=1.214&r2=1.215&diff_format=u
Index: php-src/php.ini-recommended
diff -u php-src/php.ini-recommended:1.214 php-src/php.ini-recommended:1.215
--- php-src/php.ini-recommended:1.214   Fri May 25 19:24:29 2007
+++ php-src/php.ini-recommended Sun May 27 18:04:32 2007
@@ -456,6 +456,14 @@
 ; 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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to