Disabling WSDL Caching

Disabling WSDL Caching

Following are the steps to disable WSDL Caching.

1. Go to php.ini

2. Look for soap.wsdl_cache_ttl = “86400”. This is the default setting. 86400 is the number of seconds in a day. So when it is set to 86400, it would mean the cache is set for 1 day.

3. Change this value to zero. Once done, restart apache.

php.ini is the default path where this change is to be done. However this may be changed while php is being installed on the server. In that case, you would have to search for the file. If. even after all efforts, you have been unable to locate this file, then you may insert the default values for the soap section in the php.ini & then set soap.wsdl_cache_ttl = “0”

soap.wsdl_cache_enabled = 1

soap.wsdl_cache_dir = /tmp (this is the default directory where the cache files would go)

soap.wsdl_cache_ttl = 86400 (change this to 0 if you want wsdl cache to be disabled. Beware of -1. It means the value is set to unlimited.

Hope this helps :)

--

Like this post ?

Share on your Social Networking Profile ( Facebook, Twitter & Google+ ) and get a flat 10% Recurring discount on our VPS Hosting and Dedicated Servers.


Email us the shared link at : [email protected] or speak to our live chat operator now, by clicking on the “Live Chat” Scroller on the left-hand side of this page and we will provide you with the discount Coupon right away!

Sharing

Leave your comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.