<?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 => 'ja',
  ),
  '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' => 'ja',
    '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> は
    <strong><code><a href="info.constants.php#constant.ini-perdir">INI_PERDIR</a></code></strong> なので、
    <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> は
    <strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong> なのでどこででも設定でき、当然
    <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); ?>