php-doc-en/reference/http/configuration.xml
Jakub Vrana f052ac1bd7 Revert useless change in 326638
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323642 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-29 00:24:15 +00:00

249 lines
7.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<section xml:id="http.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
<para>
<table>
<title>HTTP Configuration Options</title>
<tgroup cols="4">
<thead>
<row>
<entry>&Name;</entry>
<entry>&Default;</entry>
<entry>&Changeable;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row xml:id="http.configuration.etag.mode">
<entry>http.etag.mode</entry>
<entry>"MD5"</entry>
<entry>PHP_INI_ALL</entry>
<entry>
The hashing algorithm used to generate the ETag. MD5, SHA1, and CRC32
are always available. If the <link linkend="ref.hash">hash</link>
extension is enabled, any hashing algorithms this extension provides
are available, too.
</entry>
</row>
<row xml:id="http.configuration.log.cache">
<entry>http.log.cache</entry>
<entry>""</entry>
<entry>PHP_INI_ALL</entry>
<entry>
The path (or stream wrapper url) to a log file in which to write successful cache hits.
</entry>
</row>
<row xml:id="http.configuration.log.redirect">
<entry>http.log.redirect</entry>
<entry>""</entry>
<entry>PHP_INI_ALL</entry>
<entry>
The path (or stream wrapper url) to a log file in which to write redirects.
</entry>
</row>
<row xml:id="http.configuration.log.not-found">
<entry>http.log.not_found</entry>
<entry>""</entry>
<entry>PHP_INI_ALL</entry>
<entry>
The path (or stream wrapper url) to a log file in which to write "file not found" errors.
</entry>
</row>
<row xml:id="http.configuration.log.allowed-methods">
<entry>http.log.allowed_methods</entry>
<entry>""</entry>
<entry>PHP_INI_ALL</entry>
<entry>
The path (or stream wrapper url) to a log file in which to write "allowed methods" violations.
</entry>
</row>
<row xml:id="http.configuration.log.composite">
<entry>http.log.composite</entry>
<entry>""</entry>
<entry>PHP_INI_ALL</entry>
<entry>
The path (or stream wrapper url) to a log file in which to write all events.
</entry>
</row>
<row xml:id="http.configuration.request.methods.allowed">
<entry>http.request.methods.allowed</entry>
<entry>""</entry>
<entry>PHP_INI_ALL</entry>
<entry>
Allowed request methods. If a client issues a request with a request method
other than listed here, PHP exits with a status of "405 Method not allowed".
&see.http.configuration.force_exit;
</entry>
</row>
<row xml:id="http.configuration.request.methods.custom">
<entry>http.request.methods.custom</entry>
<entry>""</entry>
<entry>PHP_INI_PERDIR|PHP_INI_SYSTEM</entry>
<entry>
Custom request methods. If you want to use any non-standard request methods,
you can register them with this INI setting or <function>http_request_method_register</function>.
</entry>
</row>
<row xml:id="http.configuration.request.datashare.cookie">
<entry>http.request.datashare.cookie</entry>
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>
Whether the global <classname>HttpRequestDataShare</classname> should by default share cookie information.
</entry>
</row>
<row xml:id="http.configuration.request.datashare.dns">
<entry>http.request.datashare.dns</entry>
<entry>"1"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>
Whether the global <classname>HttpRequestDataShare</classname> should by default share name lookup information.
</entry>
</row>
<row xml:id="http.configuration.request.datashare.ssl">
<entry>http.request.datashare.ssl</entry>
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>
Whether the global <classname>HttpRequestDataShare</classname> should by default share SSL session information.
This is not yet implemented in libcurl.
</entry>
</row>
<row xml:id="http.configuration.request.datashare.connect">
<entry>http.request.datashare.connect</entry>
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>
Whether the global <classname>HttpRequestDataShare</classname> should by default share connect information.
This is not yet implemented in libcurl.
</entry>
</row>
<row xml:id="http.configuration.persistent.handles.limit">
<entry>http.persistent.handles.limit</entry>
<entry>"-1"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>
The maximum amount of persistent handles to keep alive.
</entry>
</row>
<row xml:id="http.configuration.persistent.handles.ident">
<entry>http.persistent.handles.ident</entry>
<entry>"GLOBAL"</entry>
<entry>PHP_INI_ALL</entry>
<entry>
The ident of persistent handles.
</entry>
</row>
<row xml:id="http.configuration.send.inflate.start-auto">
<entry>http.send.inflate.start_auto</entry>
<entry>"0"</entry>
<entry>PHP_INI_PERDIR|PHP_INI_SYSTEM</entry>
<entry>
Whether to automatically start the inflate output handler.
</entry>
</row>
<row xml:id="http.configuration.send.inflate.start-flags">
<entry>http.send.inflate.start_flags</entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>
Initialization settings for the inflate output handler.
</entry>
</row>
<row xml:id="http.configuration.send.deflate.start-auto">
<entry>http.send.deflate.start_auto</entry>
<entry>"0"</entry>
<entry>PHP_INI_PERDIR|PHP_INI_SYSTEM</entry>
<entry>
Whether to automatically start the deflate output handler.
</entry>
</row>
<row xml:id="http.configuration.send.deflate.start-flags">
<entry>http.send.deflate.start_flags</entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>
Initialization settings for the deflate output handler.
See <link linkend="http.constants.deflate">deflate constants</link>.
</entry>
</row>
<row xml:id="http.configuration.send.not-found-404">
<entry>http.send.not_found_404</entry>
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
<entry>
Whether to automatically exit with a status of "404 Not found",
if <function>http_send_file</function> was not able to find the specified file.
&see.http.configuration.force_exit;
</entry>
</row>
<row xml:id="http.configuration.only-exceptions">
<entry>http.only_exceptions</entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>
Whether all notices/warnings/errors should be thrown as exceptions.
</entry>
</row>
<row xml:id="http.configuration.force-exit">
<entry>http.force_exit</entry>
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
<entry>
Each occasion where "exits with a status of..." is mentioned, usually causes
the halt of the scripting engine. Disable this option if you alternatively
want to start a discarding (dev/null) output handler and continue script
execution.
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</section>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->