svn: /phpdoc/en/trunk/appendices/ ini.xml

From: Date: Wed, 24 Feb 2010 09:28:48 +0000
Subject: svn: /phpdoc/en/trunk/appendices/ ini.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6124@lists.php.net to get a copy of this message
degeberg Wed, 24 Feb 2010 09:28:48 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=295458 Log: Fixed PHP bug #51075 (Default value for cgi.fix_pathinfo in docu is wrong) + a little cleaning Bug: http://bugs.php.net/51075 (Analyzed) Default value for "cgi.fix_pathinfo" in docu is wrong Changed paths: U phpdoc/en/trunk/appendices/ini.xml Modified: phpdoc/en/trunk/appendices/ini.xml =================================================================== --- phpdoc/en/trunk/appendices/ini.xml 2010-02-24 09:10:48 UTC (rev 295457) +++ phpdoc/en/trunk/appendices/ini.xml 2010-02-24 09:28:48 UTC (rev 295458) @@ -4992,11 +4992,12 @@ </term> <listitem> <para> - Controls whether CGI PHP checks for line starting with #! (shebang) - at the top of the running script. This line might be needed if the - script support running both as stand-alone script and via PHP CGI. - PHP in CGI mode skips this line and ignores its content if this - directive is turned on. + Controls whether <literal>CGI</literal> PHP checks for line starting + with <literal>#!</literal> (shebang) at the top of the running script. + This line might be needed if the script support running both as + stand-alone script and via PHP <acronym>CGI</acronym>. PHP in + <acronym>CGI</acronym> mode skips this line and ignores its content if + this directive is turned on. </para> </listitem> </varlistentry> @@ -5008,14 +5009,18 @@ </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. + Provides <emphasis>real</emphasis> <literal>PATH_INFO</literal>/ + <literal>PATH_TRANSLATED</literal> support for <acronym>CGI</acronym>. + PHP's previous behaviour was to set <literal>PATH_TRANSLATED</literal> + to <literal>SCRIPT_FILENAME</literal>, and to not grok what <literal> + PATH_INFO</literal>is. For more information on + <literal>PATH_INFO</literal>, see the <acronym>CGI</acronym> specs. + Setting this to <literal>1</literal> will cause PHP + <acronym>CGI</acronym> to fix its paths to conform to the spec. A + setting of zero causes PHP to behave as before. It is turned on by + default. You should fix your scripts to use + <literal>SCRIPT_FILENAME</literal> rather than + <literal>PATH_TRANSLATED</literal>. </para> </listitem> </varlistentry> @@ -5028,8 +5033,9 @@ <listitem> <para> cgi.force_redirect is necessary to provide security running PHP as a - CGI under most web servers. Left undefined, PHP turns this on by - default. You can turn it off <emphasis>at your own risk</emphasis>. + <acronym>CGI</acronym> under most web servers. Left undefined, PHP + turns this on by default. You can turn it off <emphasis>at your own + risk</emphasis>. </para> <note> <para>

« previous php.doc.cvs (#6124) next »