[soap]
; Enables or disables WSDL caching feature.
soap.wsdl_cache_enabled=1
; Sets the directory name where SOAP extension will put cache files. soap.wsdl_cache_dir="/tmp"
; (time to live) Sets the number of second while cached file will be used
; instead of original one.
soap.wsdl_cache_ttl=86400
默认情况下,soap扩展对结果进行了缓存
不启用缓存
soap.wsdl_cache_enabled=0
soap.wsdl_cache_ttl=0
如果还是不生效,在代码里面加入
ini_set("soap.wsdl_cache_enabled", "0");