<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/soap.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ru',
  ),
  'this' => 
  array (
    0 => 'soap.configuration.php',
    1 => 'Настройка во время выполнения',
    2 => 'Настройка во время выполнения',
  ),
  'up' => 
  array (
    0 => 'soap.setup.php',
    1 => 'Установка и настройка',
  ),
  'prev' => 
  array (
    0 => 'soap.installation.php',
    1 => 'Установка',
  ),
  'next' => 
  array (
    0 => 'soap.constants.php',
    1 => 'Предопределённые константы',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    'path' => 'reference/soap/ini.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="soap.configuration" class="section">
 <h2 class="title">Настройка во время выполнения</h2>
 <p class="simpara">
Поведение функций зависит от установок в файле <var class="filename">php.ini</var>.
</p>
 <p class="para">
  <table class="doctable table">
   <caption><strong>Опции настройки SOAP</strong></caption>
   
    <thead>
     <tr>
      <th>Имя</th>
      <th>По умолчанию</th>
      <th>Место изменения</th>
      <th>Список изменений</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td><a href="soap.configuration.php#ini.soap.wsdl-cache-enabled" class="link">soap.wsdl_cache_enabled</a></td>
      <td>1</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td></td>
     </tr>

     <tr>
      <td><a href="soap.configuration.php#ini.soap.wsdl-cache-dir" class="link">soap.wsdl_cache_dir</a></td>
      <td>/tmp</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td></td>
     </tr>

     <tr>
      <td><a href="soap.configuration.php#ini.soap.wsdl-cache-ttl" class="link">soap.wsdl_cache_ttl</a></td>
      <td>86400</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td></td>
     </tr>

     <tr>
      <td><a href="soap.configuration.php#ini.soap.wsdl-cache" class="link">soap.wsdl_cache</a></td>
      <td>1</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td></td>
     </tr>

     <tr>
      <td><a href="soap.configuration.php#ini.soap.wsdl-cache-limit" class="link">soap.wsdl_cache_limit</a></td>
      <td>5</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td></td>
     </tr>

    </tbody>
   
  </table>

 </p>

 <p class="para">Краткое разъяснение конфигурационных
директив.</p>

 <p class="para">
  <dl>
   
    <dt id="ini.soap.wsdl-cache-enabled">
     <code class="parameter">soap.wsdl_cache_enabled</code>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      Включает или отключает кеширование WSDL.
     </p>
    </dd>
   
   
    <dt id="ini.soap.wsdl-cache-dir">
     <code class="parameter">soap.wsdl_cache_dir</code>
     <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
    </dt>
    <dd>
     <p class="para">
      Устанавливает путь к директории, где модуль SOAP будет хранить кеш-файлы.
     </p>
    </dd>
   
   
    <dt id="ini.soap.wsdl-cache-ttl">
     <code class="parameter">soap.wsdl_cache_ttl</code>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      Устанавливает количество секунд (время жизни) для файлов в кеше, которое они
      будут использоваться вместо оригинальных файлов.
     </p>
    </dd>
   
   
    <dt id="ini.soap.wsdl-cache">
     <code class="parameter">soap.wsdl_cache</code>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      Если параметр <code class="parameter">soap.wsdl_cache_enabled</code> принимает значение &quot;on&quot;, то эта опция
      определяет тип кеширования. Он может быть любым из следующих типов:
      <strong><code><a href="soap.constants.php#constant.wsdl-cache-none">WSDL_CACHE_NONE</a></code></strong> (<code class="literal">0</code>),
      <strong><code><a href="soap.constants.php#constant.wsdl-cache-disk">WSDL_CACHE_DISK</a></code></strong> (<code class="literal">1</code>),
      <strong><code><a href="soap.constants.php#constant.wsdl-cache-memory">WSDL_CACHE_MEMORY</a></code></strong> (<code class="literal">2</code>) или
      <strong><code><a href="soap.constants.php#constant.wsdl-cache-both">WSDL_CACHE_BOTH</a></code></strong> (<code class="literal">3</code>). Это также
      может быть установлено через массив <code class="parameter">options</code>  в конструкторе
      <span class="classname"><a href="class.soapclient.php" class="classname">SoapClient</a></span> или <span class="classname"><a href="class.soapserver.php" class="classname">SoapServer</a></span>.
     </p>
    </dd>
   
   
    <dt id="ini.soap.wsdl-cache-limit">
     <code class="parameter">soap.wsdl_cache_limit</code>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      Максимальное количество находящихся в оперативной памяти кешированных файлов WSDL. Дальнейшее добавление
      файлов в заполненную кеш-память будет приводить к удалению из неё самых старых файлов.
     </p>
    </dd>
   

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