philip Fri Sep 12 16:11:18 2003 EDT
Modified files:
/phpdoc/en/chapters config.xml
Log:
Initial docs (as per php.ini-dist) of cgi.fix_pathinfo as suggested
by bug #25448
Index: phpdoc/en/chapters/config.xml
diff -u phpdoc/en/chapters/config.xml:1.110 phpdoc/en/chapters/config.xml:1.111
--- phpdoc/en/chapters/config.xml:1.110 Fri Jul 18 23:23:58 2003
+++ phpdoc/en/chapters/config.xml Fri Sep 12 16:11:18 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.110 $ -->
+<!-- $Revision: 1.111 $ -->
<chapter id="configuration">
<title>Runtime Configuration</title>
@@ -946,6 +946,11 @@
<entry>PHP_INI_SYSTEM</entry>
</row>
<row>
+ <entry>cgi.fix_pathinfo</entry>
+ <entry>"0"</entry>
+ <entry>PHP_INI_SYSTEM</entry>
+ </row>
+ <row>
<entry>cgi.force_redirect</entry>
<entry>"1"</entry>
<entry>PHP_INI_SYSTEM</entry>
@@ -1073,7 +1078,26 @@
</para>
</listitem>
</varlistentry>
-
+
+ <varlistentry id="ini.cgi.fix_pathinfo">
+ <term>
+ <parameter>cgi.fix_pathinfo</parameter>
+ <type>boolean</type>
+ </term>
+ <listitem>
+ <para>
+ Provides <emphasis>real</emphasis> 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.
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="ini.cgi.force-redirect">
<term>
<parameter>cgi.force_redirect</parameter>