<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/apache.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'apache.configuration.php',
    1 => '実行時設定',
    2 => '実行時設定',
  ),
  'up' => 
  array (
    0 => 'apache.setup.php',
    1 => 'インストール/設定',
  ),
  'prev' => 
  array (
    0 => 'apache.installation.php',
    1 => 'インストール手順',
  ),
  'next' => 
  array (
    0 => 'ref.apache.php',
    1 => 'Apache 関数',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/apache/ini.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="apache.configuration" class="section">
 <h2 class="title">実行時設定</h2>
 <p class="para">
  Apache PHPモジュールの動作は、<var class="filename">php.ini</var> の設定により影響を受けます。
  <var class="filename">php.ini</var> の設定は、サーバーの設定ファイル内の <a href="configuration.changes.php#configuration.changes.apache" class="link">php_flag</a> の設定、
  またはローカルなファイル <var class="filename">.htaccess</var> により上書きすることができます。
 </p>
 <div class="example" id="example-1">
  <p><strong>例1 
   <var class="filename">.htaccess</var> により、あるディレクトリの PHP によるパースを無効にする
  </strong></p>
  <div class="example-contents"><div class="cdata"><pre>php_flag engine off</pre></div></div>

 </div>
 <p class="para">
  <table class="doctable table">
   <caption><strong>Apache設定オプション</strong></caption>
   
    <thead>
     <tr>
      <th>名前</th>
      <th>デフォルト</th>
      <th>変更可能</th>
      <th>変更履歴</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td><a href="apache.configuration.php#ini.engine" class="link">engine</a></td>
      <td>&quot;1&quot;</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="apache.configuration.php#ini.child-terminate" class="link">child_terminate</a></td>
      <td>&quot;0&quot;</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="apache.configuration.php#ini.last-modified" class="link">last_modified</a></td>
      <td>&quot;0&quot;</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="apache.configuration.php#ini.xbithack" class="link">xbithack</a></td>
      <td>&quot;0&quot;</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

    </tbody>
   
  </table>

  INI_* モードの詳細および定義については
<a href="configuration.changes.modes.php" class="xref">どこで設定を行うのか</a> を参照してください。
 </p>

 <p class="para">以下に設定ディレクティブに関する
簡単な説明を示します。</p>

 <p class="para">
  設定ディレクティブの短い説明を以下に示します。
  <dl>
   
    <dt id="ini.engine">
     <code class="parameter">engine</code>
     <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
    </dt>
    <dd>
     <p class="para">
      PHP によるパースのオン/オフを切り替えます。
      このディレクティブは、Apacheモジュール版のPHPでのみ有効です。
      このディレクティブは、ディレクティブ毎または仮想サーバー毎にPHPに
      よるパースを有効または無効にしたいサイトで使用されます。
      <var class="filename">httpd.conf</var>ファイルの適当な場所に
      <strong class="userinput"><code>engine off</code></strong>を置くことにより、PHPを有効また
      は無効にすることができます。
     </p>
    </dd>
   
   
    <dt id="ini.child-terminate">
     <code class="parameter">child_terminate</code>
     <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
    </dt>
    <dd>
     <p class="para">
       リクエストの終了時にPHPスクリプトが子プロセスの終了を指定するか
       どうかを指定します。
       <span class="function"><a href="function.apache-child-terminate.php" class="function">apache_child_terminate()</a></span>も参照ください。
     </p>
    </dd>
   
   
    <dt id="ini.last-modified">
     <code class="parameter">last_modified</code>
     <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
    </dt>
    <dd>
     <p class="para">
       PHPスクリプトの修正日をこのリクエストのLast-Modified:ヘッダとし
       て送信します。
     </p>
    </dd>
   
   
    <dt id="ini.xbithack">
     <code class="parameter">xbithack</code>
     <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
    </dt>
    <dd>
     <p class="para">
       PHPがファイル終端を無視して実行ビットが設定されているファイルを
       パースするようにします。
     </p>
    </dd>
   
  </dl>
 </p>

</div><?php manual_footer($setup); ?>