Runtime Configuration
The behaviour of these functions is affected by settings in php.ini.
| Name | Default | Changeable | Changelog |
|---|---|---|---|
| soap.wsdl_cache_enabled | 1 | PHP_INI_ALL | |
| soap.wsdl_cache_dir | /tmp | PHP_INI_ALL | |
| soap.wsdl_cache_ttl | 86400 | PHP_INI_ALL | |
| soap.wsdl_cache | 1 | PHP_INI_ALL | |
| soap.wsdl_cache_limit | 5 | PHP_INI_ALL |
Here's a short explanation of the configuration directives.
-
soap.wsdl_cache_enabledint -
Enables or disables the WSDL caching feature.
-
soap.wsdl_cache_dirstring -
Sets the directory name where the SOAP extension will put cache files.
-
soap.wsdl_cache_ttlint -
Sets the number of seconds (time to live) that cached files will be used instead of the originals.
-
soap.wsdl_cacheint -
If
soap.wsdl_cache_enabledis on, this setting determines the type of caching. It can be any of:WSDL_CACHE_NONE(0),WSDL_CACHE_DISK(1),WSDL_CACHE_MEMORY(2) orWSDL_CACHE_BOTH(3). This can also be set via theoptionsarray in the SoapClient or SoapServer constructor. -
soap.wsdl_cache_limitint -
Maximum number of in-memory cached WSDL files. Adding further files into a full memory cache will delete the oldest files from it.

