<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/configuration.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'configuration.changes.modes.php',
    1 => 'Де можна встановлювати параметри конфігурації',
    2 => 'Де можна встановлювати параметри конфігурації',
  ),
  'up' => 
  array (
    0 => 'configuration.php',
    1 => 'Конфігурація під час запуску',
  ),
  'prev' => 
  array (
    0 => 'configuration.file.per-user.php',
    1 => '.user.ini (додаткові конфіг-файли)',
  ),
  'next' => 
  array (
    0 => 'configuration.changes.php',
    1 => 'Як змінити параметри конфігурації',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'uk',
    'path' => 'install/ini.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="configuration.changes.modes" class="sect1">
  <h2 class="title">Де можна встановлювати параметри конфігурації</h2>
  
  <p class="para">
   Наведені нижче режими визначають де і коли PHP-директиви можуть або ж не можуть
   встановлюватись, причому кожна директива в посібнику має відношення до одного з
   цих режимів. Наприклад, деякі налаштування можуть встановлюватись всередині
   PHP-скриптів використовуючи <span class="function"><a href="function.ini-set.php" class="function">ini_set()</a></span>, в той час як інші
   необхідно встановлювати в <var class="filename">php.ini</var> чи <var class="filename">httpd.conf</var>.
  </p>
  
  <p class="para">
   Наприклад, директива
   <a href="outcontrol.configuration.php#ini.output-buffering" class="link">output_buffering</a> відноситься до
   режиму <code class="literal">INI_PERDIR</code>, тому вона не може встановлюватись через
   <span class="function"><a href="function.ini-set.php" class="function">ini_set()</a></span>. Однак, директива
   <a href="errorfunc.configuration.php#ini.display-errors" class="link">display_errors</a> відноситься до режиму
   <code class="literal">INI_ALL</code>, тому вона може встановлюватись будь-де,
   включаючи <span class="function"><a href="function.ini-set.php" class="function">ini_set()</a></span>.
  </p>
  
  <p class="para">
   <dl>

    <strong class="title">Константи режимів INI</strong>
    
     <dt>
      <strong><code><a href="info.constants.php#constant.ini-user">INI_USER</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
     </dt>
     <dd>
      <span class="simpara">
       Значення можна встановити в користувацьких скриптах (як і
       <span class="function"><a href="function.ini-set.php" class="function">ini_set()</a></span>),
       в <a href="configuration.changes.php#configuration.changes.windows" class="link">реєстрах Windows</a>, а також
       в <var class="filename">.user.ini</var>
      </span>
     </dd>
    
    
     <dt>
      <strong><code><a href="info.constants.php#constant.ini-perdir">INI_PERDIR</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
     </dt>
     <dd>
      <span class="simpara">
       Значення можна встановити в <var class="filename">php.ini</var>, <var class="filename">.htaccess</var>, <var class="filename">httpd.conf</var> або <var class="filename">.user.ini</var>
      </span>
     </dd>
    
    
     <dt>
      <strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
     </dt>
     <dd>
      <span class="simpara">
       Значення можна встановити в <var class="filename">php.ini</var> або <var class="filename">httpd.conf</var>
      </span>
     </dd>
    
    
     <dt>
      <strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
     </dt>
     <dd>
      <span class="simpara">
       Значення можна встановити будь-де.
      </span>
     </dd>
    
   </dl>
  </p>
 </div><?php manual_footer($setup); ?>