Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 8188

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>List of php.ini sections</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ini.list.html">List of 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&#039;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">
   These sections are used only in CGI/FastCGI mode and they can not set
   <a href="ini.core.html#ini.extension" class="link">extension</a> and <a href="ini.core.html#ini.zend-extension" class="link">zend_extension</a> directives.
  </p>
  <p class="para">
   <table class="doctable table">
    <caption><strong>Sections</strong></caption>
    
     <thead>
      <tr>
       <th>Name</th>
       <th>Changeable</th>
       <th>Changelog</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td><a href="ini.sections.html#ini.per-host" class="link">[HOST=]</a></td>
       <td>PHP_INI_SYSTEM</td>
       <td>Added in PHP 5.3.0.</td>
      </tr>

      <tr>
       <td><a href="ini.sections.html#ini.per-path" class="link">[PATH=]</a></td>
       <td>PHP_INI_SYSTEM</td>
       <td>Added in PHP 5.3.0.</td>
      </tr>

     </tbody>
    
   </table>

  </p>
  
  <p class="para">Here&#039;s a short explanation of
the configuration directives.</p>
  
  <p class="para">
   <dl>

    <dt id="ini.per-host">
     <span class="term">
      <em><code class="parameter">[HOST=&lt;host&gt;]</code></em>
     </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" id="example-5625">
        <p><strong>Example #1 Activate full on-screen error reporting for dev. domain</strong></p>
        <div class="example-contents">
<div class="php.inicode"><pre class="php.inicode">[HOST=dev.site.com]
error_reporting = E_ALL
display_errors = On</pre>
</div>
        </div>

       </div>
      </p>
     </dd>

    </dt>

    
    <dt id="ini.per-path">
     <span class="term">
      <em><code class="parameter">[PATH=&lt;path&gt;]</code></em>
     </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" id="example-5626">
        <p><strong>Example #2 Add security script for protected areas</strong></p>
        <div class="example-contents">
<div class="php.inicode"><pre class="php.inicode">[PATH=/home/site/public/secure]
auto_prepend_file=security.php</pre>
</div>
        </div>

       </div>
      </p>
     </dd>

    </dt>

    
   </dl>

  </p>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ini.list.html">List of 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>