<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ini.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'ini.sections.php',
    1 => 'Список секцій файлу php.ini',
    2 => 'Список секцій файлу php.ini',
  ),
  'up' => 
  array (
    0 => 'ini.php',
    1 => 'Директиви php.ini',
  ),
  'prev' => 
  array (
    0 => 'ini.list.php',
    1 => 'Список директив php.ini',
  ),
  'next' => 
  array (
    0 => 'ini.core.php',
    1 => 'Description of core php.ini directives',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'uk',
    'path' => 'appendices/ini.sections.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ini.sections" class="section">
  <h2 class="title">Список секцій файлу <var class="filename">php.ini</var></h2>
  <p class="para">
   Список містить секції, які можна використовувати в файлі <var class="filename">php.ini</var> для
   налаштування роботи PHP на хості або шляху. Ці секції необов&#039;язкові.
  </p>
  <p class="para">
   Вони не впливають безпосередньо на PHP, а групують директиви <var class="filename">php.ini</var> і
   вказують, для якого хоста або шляху ті діють.
  </p>
  <p class="para">
   Секції використовуються тільки в режимі CGI/FastCGI та не можуть містити
   директиви <a href="ini.core.php#ini.extension" class="link">extension</a> та <a href="ini.core.php#ini.zend-extension" class="link">zend_extension</a>.
  </p>
  <p class="para">
   <table class="doctable table">
    <caption><strong>Секції</strong></caption>
    
     <thead>
      <tr>
       <th>Назва</th>
       <th>Де можна змінювати</th>
       <th>Журнал змін</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td><a href="ini.sections.php#ini.per-host" class="link">[HOST=]</a></td>
       <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong></td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td><a href="ini.sections.php#ini.per-path" class="link">[PATH=]</a></td>
       <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong></td>
       <td class="empty">&nbsp;</td>
      </tr>

     </tbody>
    
   </table>

  </p>
  
  <p class="para">Тут є коротке пояснення директив
конфігурації.</p>
  
  <p class="para">
   <dl>
    
     <dt id="ini.per-host">
      <code class="parameter">[HOST=&lt;host&gt;]</code>
     </dt>
     <dd>
      <p class="para">
       Ця секція дозволяє визначити набір директив <var class="filename">php.ini</var>, що діятимуть для
       заданого хоста.
      </p>
      <p class="para">
       <div class="example" id="example-1">
        <p><strong>Приклад #1 Увімкнути повне екранне оповіщення про помилки домена для
         розробки</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 id="ini.per-path">
      <code class="parameter">[PATH=&lt;path&gt;]</code>
     </dt>
     <dd>
      <p class="para">
       Ця секція дозволяє визначити набір директив <var class="filename">php.ini</var>, що діятимуть для
       заданого шляху.
      </p>
      <p class="para">
       <div class="example" id="example-2">
        <p><strong>Приклад #2 Додати скрипт безпеки для захищених частин</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>
    
    
   </dl>
  </p>
 </div><?php manual_footer($setup); ?>