<?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 => 'ru',
  ),
  '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' => 'ru',
    '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 Отключение парсера PHP для директории при помощи <var class="filename">.htaccess</var></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 на основе директорий или виртуальных хостов.
      Устанавливая <strong class="userinput"><code>engine off</code></strong> по необходимости в файле
      <var class="filename">httpd.conf</var>, можно разрешить или запретить интерпретатор 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); ?>