PHP 5.4 INI settings

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324591 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2012-03-27 20:32:27 +00:00
parent c16824af57
commit 3ac3e34084
4 changed files with 165 additions and 24 deletions

View file

@ -122,11 +122,17 @@
<entry>Available since PHP 5.4.0</entry>
</row>
<row>
<entry>zend.script_encoding</entry>
<entry><link linkend="ini.zend.script-encoding">zend.script_encoding</link></entry>
<entry>NULL</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 5.4.0</entry>
</row>
<row>
<entry><link linkend="ini.zend.signal-check">zend.signal_check</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.4.0</entry>
</row>
<row>
<entry><link linkend="ini.zend.ze1-compatibility-mode">zend.ze1_compatibility_mode</link></entry>
<entry>"0"</entry>
@ -397,6 +403,32 @@
</listitem>
</varlistentry>
<varlistentry xml:id="ini.zend.script-encoding">
<term>
<parameter>zend.script_encoding</parameter>
<type>string</type>
</term>
<listitem>
<para>
This value will be used unless a
<link linkend="control-structures.declare.encoding">declare(encoding=...)</link>
directive appears at the top of the script.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.zend.signal-check">
<term>
<parameter>zend.signal_check</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
To check for replaced signal handlers on shutdown.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.detect-unicode">
<term>
<parameter>detect_unicode</parameter>
@ -1211,6 +1243,12 @@
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 4.2.0. PHP_INI_ALL prior to PHP 5.2.1.</entry>
</row>
<row>
<entry><link linkend="ini.cgi.rfc2616-headers">cgi.rfc2616_headers</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 4.3.0.</entry>
</row>
<row>
<entry><link linkend="ini.fastcgi.impersonate">fastcgi.impersonate</link></entry>
<entry>"0"</entry>
@ -1223,12 +1261,6 @@
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 4.3.0. PHP_INI_ALL prior to PHP 5.2.1.</entry>
</row>
<row>
<entry><link linkend="ini.cgi.rfc2616-headers">cgi.rfc2616_headers</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 4.3.0.</entry>
</row>
</tbody>
</tgroup>
</table>
@ -1553,6 +1585,22 @@ include_path=".;c:\php\includes"
</listitem>
</varlistentry>
<varlistentry xml:id="ini.cgi.rfc2616-headers">
<term>
<parameter>cgi.rfc2616_headers</parameter>
<type>int</type>
</term>
<listitem>
<para>
Tells PHP what type of headers to use when sending HTTP response
code. If it's set 0, PHP sends a Status: header that is supported
by Apache and other web servers. When this option is set to 1, PHP
will send <link xlink:href="&url.rfc;2616">RFC 2616</link> compliant
headers. Leave it set to 0 unless you know what you're doing.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.fastcgi.impersonate">
<term>
<parameter>fastcgi.impersonate</parameter>
@ -1582,21 +1630,6 @@ include_path=".;c:\php\includes"
</listitem>
</varlistentry>
<varlistentry xml:id="ini.cgi.rfc2616-headers">
<term>
<parameter>cgi.rfc2616_headers</parameter>
<type>int</type>
</term>
<listitem>
<para>
Tells PHP what type of headers to use when sending HTTP response
code. If it's set 0, PHP sends a Status: header that is supported
by Apache and other web servers. When this option is set to 1, PHP
will send <link xlink:href="&url.rfc;2616">RFC 2616</link> compliant
headers. Leave it set to 0 unless you know what you're doing.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>
@ -1780,6 +1813,53 @@ include_path=".;c:\php\includes"
</variablelist>
</para>
</section>
<section xml:id="ini.sect.windows">
<title>Windows Specific</title>
<para>
<table>
<title>Windows Specific Configuration Options</title>
<tgroup cols="4">
<thead>
<row>
<entry>&Name;</entry>
<entry>&Default;</entry>
<entry>&Changeable;</entry>
<entry>&Changelog;</entry>
</row>
</thead>
<tbody>
<row>
<entry><link linkend="ini.windows-show-crt-warning">windows_show_crt_warning</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 5.4.0.</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry xml:id="ini.windows-show-crt-warning">
<term>
<parameter>windows_show_crt_warning</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
This directive shows the Windows CRT warnings when enabled. These
warnings were displayed by default until PHP 5.4.0.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>
</section>
<!-- Keep this comment at the end of the file

View file

@ -430,6 +430,12 @@
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 5.4.0.</entry>
</row>
<row>
<entry><link linkend="ini.cli-server.color">cli_server.color</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 5.4.0.</entry>
</row>
<row>
<entry>coin_acceptor.autoreset</entry>
<entry>"On"</entry>
@ -3201,6 +3207,12 @@
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since vld 0.8.0.</entry>
</row>
<row>
<entry><link linkend="ini.windows-show-crt-warning">windows_show_crt_warning</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 5.4.0.</entry>
</row>
<row>
<entry><link linkend="ini.xbithack">xbithack</link></entry>
<entry>"0"</entry>
@ -3562,13 +3574,13 @@
<entry>Available since PHP 5.4.0.</entry>
</row>
<row>
<entry>zend.script_encoding</entry>
<entry><link linkend="ini.zend.script-encoding">zend.script_encoding</link></entry>
<entry>NULL</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 5.4.0</entry>
</row>
<row>
<entry>zend.signal_check</entry>
<entry><link linkend="ini.zend.signal-check">zend.signal_check</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.4.0</entry>

View file

@ -1730,6 +1730,52 @@ Press Ctrl-C to quit.
</section>
<!--}}}-->
<section xml:id="features.commandline.ini">
<title>INI settings</title>
<para>
<table>
<title>CLI SAPI Configuration Options</title>
<tgroup cols="4">
<thead>
<row>
<entry>&Name;</entry>
<entry>&Default;</entry>
<entry>&Changeable;</entry>
<entry>&Changelog;</entry>
</row>
</thead>
<tbody>
<row>
<entry><link linkend="ini.cli-server.color">cli_server.color</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 5.4.0.</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry xml:id="ini.cli-server.color">
<term>
<parameter>cli_server.color</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
Enable the built-in development web server to use ANSI color coding
in terminal output.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>
</chapter>
<!-- Keep this comment at the end of the file

View file

@ -182,6 +182,9 @@ declare(encoding='ISO-8859-1');
<para>
Note that PHP does not expose whether <literal>--enable-zend-multibyte</literal> was
used to compile PHP other than by <function>phpinfo</function>.
</para>
<para>
See also <link linkend="ini.zend.script-encoding">zend.script_encoding</link>.
</para>
<!-- FIXME PHP_6
In PHP 6.0, the <literal>encoding</literal>