[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/appendices/_ini.xml?=
From:       Daniel_Egeberg <degeberg () php ! net>
Date:       2010-02-24 9:28:48
Message-ID: svn-degeberg-1267003728-295458-1644456378 () svn ! php ! net
[Download RAW message or body]

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>



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic