Source of: /manual/en/soap.configuration.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = 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 => 'en',
),
'this' =>
array (
0 => 'soap.configuration.php',
1 => 'Runtime Configuration',
),
'up' =>
array (
0 => 'soap.setup.php',
1 => 'Installing/Configuring',
),
'prev' =>
array (
0 => 'soap.installation.php',
1 => 'Installation',
),
'next' =>
array (
0 => 'soap.resources.php',
1 => 'Resource Types',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="soap.configuration" class="section">
<h2 class="title">Runtime Configuration</h2>
<p class="simpara">
The behaviour of these functions is affected by settings in <var class="filename">php.ini</var>.
</p>
<p class="para">
</p><table class="doctable table">
<caption><b>SOAP Configure Options</b></caption>
<thead valign="middle">
<tr valign="middle">
<th>Name</th>
<th>Default</th>
<th>Changeable</th>
<th>Changelog</th>
</tr>
</thead>
<tbody valign="middle" class="tbody">
<tr valign="middle">
<td align="left">soap.wsdl_cache_enabled</td>
<td align="left">1</td>
<td align="left">PHP_INI_ALL</td>
<td align="left"></td>
</tr>
<tr valign="middle">
<td align="left">soap.wsdl_cache_dir</td>
<td align="left">/tmp</td>
<td align="left">PHP_INI_ALL</td>
<td align="left"></td>
</tr>
<tr valign="middle">
<td align="left">soap.wsdl_cache_ttl</td>
<td align="left">86400</td>
<td align="left">PHP_INI_ALL</td>
<td align="left"></td>
</tr>
<tr valign="middle">
<td align="left">soap.wsdl_cache</td>
<td align="left">1</td>
<td align="left">PHP_INI_ALL</td>
<td align="left"></td>
</tr>
<tr valign="middle">
<td align="left">soap.wsdl_cache_limit</td>
<td align="left">5</td>
<td align="left">PHP_INI_ALL</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<p>
</p>
<p class="para">Here's a short explanation of
the configuration directives.</p>
<p class="para">
</p><dl>
<dt id="ini.soap.wsdl-cache-enabled" class="varlistentry">
<span class="term">
<i><tt class="parameter">soap.wsdl_cache_enabled</tt></i>
<a href="language.types.integer.php" class="type integer">integer</a>
</span>
</dt><dd class="listitem">
<p class="para">
Enables or disables the WSDL caching feature.
</p>
</dd>
<dt id="ini.soap.wsdl-cache-dir" class="varlistentry">
<span class="term">
<i><tt class="parameter">soap.wsdl_cache_dir</tt></i>
<a href="language.types.string.php" class="type string">string</a>
</span>
</dt><dd class="listitem">
<p class="para">
Sets the directory name where the SOAP extension will put cache files.
</p>
</dd>
<dt id="ini.soap.wsdl-cache-ttl" class="varlistentry">
<span class="term">
<i><tt class="parameter">soap.wsdl_cache_ttl</tt></i>
<a href="language.types.integer.php" class="type integer">integer</a>
</span>
</dt><dd class="listitem">
<p class="para">
Sets the number of seconds (time to live) that cached files will be used
instead of the originals.
</p>
</dd>
<dt id="ini.soap.wsdl-cache" class="varlistentry">
<span class="term">
<i><tt class="parameter">soap.wsdl_cache</tt></i>
<a href="language.types.integer.php" class="type integer">integer</a>
</span>
</dt><dd class="listitem">
<p class="para">
If <i><tt class="parameter">soap.wsdl_cache_enabled</tt></i>
is on, this setting
determines the type of caching. It can be any of:
<b><tt class="constant">WSDL_CACHE_NONE</tt></b> (<i>0</i>),
<b><tt class="constant">WSDL_CACHE_DISK</tt></b> (<i>1</i>),
<b><tt class="constant">WSDL_CACHE_MEMORY</tt></b> (<i>2</i>) or
<b><tt class="constant">WSDL_CACHE_BOTH</tt></b> (<i>3</i>). This can
also be set via the <i><tt class="parameter">options</tt></i>
array in the
<a href="class.soapclient.php" class="classname">SoapClient</a> or <a href="class.soapserver.php" class="classname">SoapServer</a>
constructor.
</p>
</dd>
<dt id="ini.soap.wsdl-cache-limit" class="varlistentry">
<span class="term">
<i><tt class="parameter">soap.wsdl_cache_limit</tt></i>
<a href="language.types.integer.php" class="type integer">integer</a>
</span>
</dt><dd class="listitem">
<p class="para">
Maximum number of in-memory cached WSDL files. Adding further files into
a full memory cache will delete the oldest files from it.
</p>
</dd>
</dl>
<p>
</p>
</div><?php manual_footer(); ?>