📄 ini.sections.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>List of php.ini sections</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="ini.html">php.ini directives</a></div> <div class="next" style="text-align: right; float: right;"><a href="ini.core.html">Description of core php.ini directives</a></div> <div class="up"><a href="ini.html">php.ini directives</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="ini.sections" class="section"> <h2 class="title">List of <var class="filename">php.ini</var> sections</h2> <p class="para"> This list includes the <var class="filename">php.ini</var> sections you can set to configure your PHP setup on a per Host or Path basis. These sections are optional. </p> <p class="para"> These sections don't directly affect PHP. They are used to group other <var class="filename">php.ini</var> directives together and to get them to act upon a particular host or on a particular path. </p> <p class="para"> <table border="5"> <caption><b>Sections</b></caption> <colgroup> <thead valign="middle"> <tr valign="middle"> <th colspan="1">Name</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"><a href="ini.sections.html#ini.per-host" class="link">[HOST=]</a></td> <td colspan="1" rowspan="1" align="left">PHP_INI_SYSTEM</td> <td colspan="1" rowspan="1" align="left">Added in PHP 5.3.0.</td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left"><a href="ini.sections.html#ini.per-path" class="link">[PATH=]</a></td> <td colspan="1" rowspan="1" align="left">PHP_INI_SYSTEM</td> <td colspan="1" rowspan="1" align="left">Added in PHP 5.3.0.</td> </tr> </tbody> </colgroup> </table> </p> <p class="para">Here's a short explanation ofthe configuration directives.</p> <p class="para"> <dl> <dt id="ini.per-host"> <span class="term"> <i><tt class="parameter">[HOST=<host>]</tt></i> </span> <dd> <p class="para"> This section allows you to define a set of <var class="filename">php.ini</var> directives that will take effect on the named host. </p> <p class="para"> <div class="example"> <p><b>Example #1 Activate full on-screen error reporting for dev. domain</b></p> <div class="example-contents"><div class="cdata"><pre>[HOST=dev.site.com]error_reporting = E_ALLdisplay_errors = On</pre></div> </div> </div> </p> </dd> </dt> <dt id="ini.per-path"> <span class="term"> <i><tt class="parameter">[PATH=<path>]</tt></i> </span> <dd> <p class="para"> This section allows you to define a set of <var class="filename">php.ini</var> directives that will take effect when a script runs from the named path. </p> <p class="para"> <div class="example"> <p><b>Example #2 Add security script for protected areas</b></p> <div class="example-contents"><div class="cdata"><pre>[PATH=/home/site/public/secure]auto_prepend_file=security.php</pre></div> </div> </div> </p> </dd> </dt> </dl> </p> </div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="ini.html">php.ini directives</a></div> <div class="next" style="text-align: right; float: right;"><a href="ini.core.html">Description of core php.ini directives</a></div> <div class="up"><a href="ini.html">php.ini directives</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 + -