<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Runtime Configuration</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="soap.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="soap.resources.html">Resource Types</a></div> <div class="up"><a href="soap.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><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"> <table class="doctable table"> <caption><strong>SOAP Configure Options</strong></caption> <thead> <tr> <th>Name</th> <th>Default</th> <th>Changeable</th> <th>Changelog</th> </tr> </thead> <tbody class="tbody"> <tr> <td><a href="soap.configuration.html#ini.soap.wsdl-cache-enabled" class="link">soap.wsdl_cache_enabled</a></td> <td>1</td> <td>PHP_INI_ALL</td> <td></td> </tr> <tr> <td><a href="soap.configuration.html#ini.soap.wsdl-cache-dir" class="link">soap.wsdl_cache_dir</a></td> <td>/tmp</td> <td>PHP_INI_ALL</td> <td></td> </tr> <tr> <td><a href="soap.configuration.html#ini.soap.wsdl-cache-ttl" class="link">soap.wsdl_cache_ttl</a></td> <td>86400</td> <td>PHP_INI_ALL</td> <td></td> </tr> <tr> <td><a href="soap.configuration.html#ini.soap.wsdl-cache" class="link">soap.wsdl_cache</a></td> <td>1</td> <td>PHP_INI_ALL</td> <td></td> </tr> <tr> <td><a href="soap.configuration.html#ini.soap.wsdl-cache-limit" class="link">soap.wsdl_cache_limit</a></td> <td>5</td> <td>PHP_INI_ALL</td> <td></td> </tr> </tbody> </table> </p> <p class="para">Here's a short explanation of the configuration directives.</p> <p class="para"> <dl> <dt id="ini.soap.wsdl-cache-enabled"> <span class="term"> <em><code class="parameter">soap.wsdl_cache_enabled</code></em> <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> </span> <dd> <p class="para"> Enables or disables the WSDL caching feature. </p> </dd> </dt> <dt id="ini.soap.wsdl-cache-dir"> <span class="term"> <em><code class="parameter">soap.wsdl_cache_dir</code></em> <span class="type"><a href="language.types.string.html" class="type string">string</a></span> </span> <dd> <p class="para"> Sets the directory name where the SOAP extension will put cache files. </p> </dd> </dt> <dt id="ini.soap.wsdl-cache-ttl"> <span class="term"> <em><code class="parameter">soap.wsdl_cache_ttl</code></em> <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> </span> <dd> <p class="para"> Sets the number of seconds (time to live) that cached files will be used instead of the originals. </p> </dd> </dt> <dt id="ini.soap.wsdl-cache"> <span class="term"> <em><code class="parameter">soap.wsdl_cache</code></em> <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> </span> <dd> <p class="para"> If <em><code class="parameter">soap.wsdl_cache_enabled</code></em> is on, this setting determines the type of caching. It can be any of: <strong><code>WSDL_CACHE_NONE</code></strong> (<em>0</em>), <strong><code>WSDL_CACHE_DISK</code></strong> (<em>1</em>), <strong><code>WSDL_CACHE_MEMORY</code></strong> (<em>2</em>) or <strong><code>WSDL_CACHE_BOTH</code></strong> (<em>3</em>). This can also be set via the <em><code class="parameter">options</code></em> array in the <a href="class.soapclient.html" class="classname">SoapClient</a> or <a href="class.soapserver.html" class="classname">SoapServer</a> constructor. </p> </dd> </dt> <dt id="ini.soap.wsdl-cache-limit"> <span class="term"> <em><code class="parameter">soap.wsdl_cache_limit</code></em> <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> </span> <dd> <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> </dt> </dl> </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="soap.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="soap.resources.html">Resource Types</a></div> <div class="up"><a href="soap.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>