stas Thu Dec 21 02:20:49 2006 UTC
Modified files: /phpdoc/en/appendices ini.xml Log: document cgi.check_shebang_line http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/ini.xml?r1=1.42&r2=1.43&diff_format=u Index: phpdoc/en/appendices/ini.xml diff -u phpdoc/en/appendices/ini.xml:1.42 phpdoc/en/appendices/ini.xml:1.43 --- phpdoc/en/appendices/ini.xml:1.42 Tue Dec 19 22:47:05 2006 +++ phpdoc/en/appendices/ini.xml Thu Dec 21 02:20:49 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.42 $ --> +<!-- $Revision: 1.43 $ --> <appendix id="ini"> <title>&php.ini; directives</title> @@ -258,6 +258,12 @@ <entry></entry> </row> <row> + <entry><link linkend="ini.cgi.check-shebang-line">cgi.check_shebang_line</link></entry> + <entry>"1"</entry> + <entry>PHP_INI_SYSTEM</entry> + <entry>Available since PHP 5.2.0.</entry> + </row> + <row> <entry>cgi.discard_path</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> @@ -3421,6 +3427,12 @@ <entry></entry> </row> <row> + <entry>cgi.check_shebang_line</entry> + <entry>"1"</entry> + <entry>PHP_INI_SYSTEM</entry> + <entry>Available since PHP 5.2.0.</entry> + </row> + <row> <entry>cgi.fix_pathinfo</entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> @@ -3560,6 +3572,23 @@ </listitem> </varlistentry> + <varlistentry id="ini.cgi.check-shebang-line"> + <term> + <parameter>cgi.check_shebang_line</parameter> + <type>boolean</type> + </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. + </para> + </listitem> + </varlistentry> + + <varlistentry id="ini.cgi.fix-pathinfo"> <term> <parameter>cgi.fix_pathinfo</parameter>