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

📄 zlib.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="zlib.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="zlib.resources.html">Resource Types</a></div> <div class="up"><a href="zlib.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="zlib.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">  The zlib extension offers the option to transparently compress  your pages on-the-fly, if the requesting browser supports  this. Therefore there are three options in the <a href="configuration.html#configuration.file" class="link">configuration file</a> <var class="filename">php.ini</var>.   <table border="5">   <caption><b>Zlib 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">Changelog</th>     </tr>    </thead>    <tbody valign="middle" class="tbody">     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">zlib.output_compression</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">Available since PHP 4.0.5.</td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">zlib.output_compression_level</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">Available since PHP 4.3.0.</td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">zlib.output_handler</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">Available since PHP 4.3.0.</td>     </tr>    </tbody>   </colgroup>  </table>   For further details and definitions of the PHP_INI_* constants, see the <a href="ini.html" class="xref">php.ini directives</a>.</p>  <p class="para">Here&#039;s a short explanation ofthe configuration directives.</p>  <p class="para"> <dl>  <dt id="ini.zlib.output-compression">   <span class="term">    <i><tt class="parameter">zlib.output_compression</tt></i>    <a href="language.types.boolean.html" class="type boolean">boolean</a>/<a href="language.types.integer.html" class="type integer">integer</a>   </span>   <dd>    <p class="para">     Whether to transparently compress pages. If this option is set     to &quot;On&quot; in <var class="filename">php.ini</var> or the Apache configuration, pages are     compressed if the browser sends an &quot;Accept-Encoding: gzip&quot; or     &quot;deflate&quot; header. &quot;Content-Encoding: gzip&quot; (respectively     &quot;deflate&quot;) and &quot;Vary: Accept-Encoding&quot; headers are added to     the output.     In runtime, it can be set only before sending any output.    </p>    <p class="para">     This option also accepts integer values instead of boolean     &quot;On&quot;/&quot;Off&quot;, using this you can set the output buffer size     (default is 4KB).    </p>    <blockquote><p><b class="note">Note</b>:            <a href="outcontrol.configuration.html#ini.output-handler" class="link">output_handler</a> must be       empty if this is set &#039;On&#039; ! Instead you must use zlib.output_handler.     <br />    </p></blockquote>   </dd>  </dt>  <dt id="ini.zlib.output-compression-level">   <span class="term">    <i><tt class="parameter">zlib.output_compression_level</tt></i>    <a href="language.types.integer.html" class="type integer">integer</a>   </span>   <dd>    <p class="para">     Compression level used for transparent output compression.    </p>   </dd>  </dt>  <dt id="ini.zlib.output-handler">   <span class="term">    <i><tt class="parameter">zlib.output_handler</tt></i>    <a href="language.types.string.html" class="type string">string</a>   </span>   <dd>    <p class="para">     You cannot specify additional output handlers if zlib.output_compression     is activated here. This setting does the same as <a href="outcontrol.configuration.html#ini.output-handler" class="link">     output_handler</a> but in a different order.    </p>   </dd>  </dt> </dl> </p></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="zlib.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="zlib.resources.html">Resource Types</a></div> <div class="up"><a href="zlib.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 + -