⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 http.configuration.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Runtime Configuration</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="http.install.html">Installing the HTTP extension</a></div> <div class="next" style="text-align: right; float: right;"><a href="http.resources.html">Resource Types</a></div> <div class="up"><a href="http.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="http.configuration" class="section"> <h2 class="title">Runtime Configuration</h2> <p class="simpara">The behaviour of these functions is affected by settings in <var class="filename">php.ini</var>.</p> <p class="para">  <table border="5">   <caption><b>HTTP Configuration Options</b></caption>   <colgroup>    <thead valign="middle">     <tr valign="middle">      <th colspan="1">Name</th>      <th colspan="1">Default</th>      <th colspan="1">Changeable</th>      <th colspan="1">Description</th>     </tr>    </thead>    <tbody valign="middle" class="tbody">     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.etag.mode</td>      <td colspan="1" rowspan="1" align="left">&quot;MD5&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">       The hashing algorithm used to generate the ETag.  MD5, SHA1, and CRC32       are always available.  If the <a href="ref.hash.html" class="link">hash</a>       xtension is enabled, any hashing algorithms this extension provides        are available, too.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.log.cache</td>      <td colspan="1" rowspan="1" align="left">&quot;&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">       The path (or stream wrapper url) to a log file in which to write successful cache hits.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.log.redirect</td>      <td colspan="1" rowspan="1" align="left">&quot;&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">       The path (or stream wrapper url) to a log file in which to write redirects.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.log.not_found</td>      <td colspan="1" rowspan="1" align="left">&quot;&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">       The path (or stream wrapper url) to a log file in which to write &quot;file not found&quot; errors.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.log.allowed_methods</td>      <td colspan="1" rowspan="1" align="left">&quot;&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">       The path (or stream wrapper url) to a log file in which to write &quot;allowed methods&quot; violations.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.log.composite</td>      <td colspan="1" rowspan="1" align="left">&quot;&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">       The path (or stream wrapper url) to a log file in which to write all events.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.request.methods.allowed</td>      <td colspan="1" rowspan="1" align="left">&quot;&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">       Allowed request methods.  If a client issues a request with a request method       other than listed here, PHP exits with a status of &quot;405 Method not allowed&quot;.       See the <a href="http.configuration.html" class="link">INI setting</a>   <a href="http.configuration.html#http.configuration.force_exit" class="link">http.force_exit</a> for what &quot;exits&quot; means.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.request.methods.custom</td>      <td colspan="1" rowspan="1" align="left">&quot;&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_PERDIR|PHP_INI_SYSTEM</td>      <td colspan="1" rowspan="1" align="left">       Custom request methods.  If you want to use any non-standard request methods,       you can register them with this INI setting or <a href="function.http-request-method-register.html" class="function">http_request_method_register()</a>.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.request.datashare.cookie</td>      <td colspan="1" rowspan="1" align="left">&quot;0&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_SYSTEM</td>      <td colspan="1" rowspan="1" align="left">       Whether the global <b class="classname">HttpRequestDataShare</b> should by default share cookie information.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.request.datashare.dns</td>      <td colspan="1" rowspan="1" align="left">&quot;1&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_SYSTEM</td>      <td colspan="1" rowspan="1" align="left">       Whether the global <b class="classname">HttpRequestDataShare</b> should by default share name lookup information.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.request.datashare.ssl</td>      <td colspan="1" rowspan="1" align="left">&quot;0&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_SYSTEM</td>      <td colspan="1" rowspan="1" align="left">       Whether the global <b class="classname">HttpRequestDataShare</b> should by default share SSL session information.       This is not yet implemented in libcurl.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.request.datashare.connect</td>      <td colspan="1" rowspan="1" align="left">&quot;0&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_SYSTEM</td>      <td colspan="1" rowspan="1" align="left">       Whether the global <b class="classname">HttpRequestDataShare</b> should by default share connect information.       This is not yet implemented in libcurl.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.persistent.handles.limit</td>      <td colspan="1" rowspan="1" align="left">&quot;-1&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_SYSTEM</td>      <td colspan="1" rowspan="1" align="left">       The maximum amount of persistent handles to keep alive.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.persistent.handles.ident</td>      <td colspan="1" rowspan="1" align="left">&quot;GLOBAL&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">       The ident of persistent handles.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.send.inflate.start_auto</td>      <td colspan="1" rowspan="1" align="left">&quot;0&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_PERDIR|PHP_INI_SYSTEM</td>      <td colspan="1" rowspan="1" align="left">       Whether to automatically start the inflate output handler.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.send.inflate.start_flags</td>      <td colspan="1" rowspan="1" align="left">&quot;0&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">       Initialization settings for the inflate output handler.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.send.deflate.start_auto</td>      <td colspan="1" rowspan="1" align="left">&quot;0&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_PERDIR|PHP_INI_SYSTEM</td>      <td colspan="1" rowspan="1" align="left">       Whether to automatically start the deflate output handler.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.send.deflate.start_flags</td>      <td colspan="1" rowspan="1" align="left">&quot;0&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">       Initialization settings for the deflate output handler.       See <a href="http.constants.html#http.constants.deflate" class="link">deflate constants</a>.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.send.not_found_404</td>      <td colspan="1" rowspan="1" align="left">&quot;1&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">       Whether to automatically exit with a status of &quot;404 Not found&quot;,       if http_send_file() was not able to find the specified file.       See the <a href="http.configuration.html" class="link">INI setting</a>   <a href="http.configuration.html#http.configuration.force_exit" class="link">http.force_exit</a> for what &quot;exits&quot; means.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.only_exceptions</td>      <td colspan="1" rowspan="1" align="left">&quot;0&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">       Whether all notices/warnings/errors should be thrown as exceptions.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">http.force_exit</td>      <td colspan="1" rowspan="1" align="left">&quot;1&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">       Each occasion where &quot;exits with a status of...&quot; 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.      </td>     </tr>    </tbody>   </colgroup>  </table> </p></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="http.install.html">Installing the HTTP extension</a></div> <div class="next" style="text-align: right; float: right;"><a href="http.resources.html">Resource Types</a></div> <div class="up"><a href="http.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -