I’d also rather change the cache-dir using the soap.wsdl_cache_dir parameter in the php.ini instead of disabling caching at all. But instead of reading the parameter and deleting everything on version switching I’d just set the parameter to a sensible default like [code]soap.wsdl_cache_dir = /tmp/php[php-version][/code]