Force re-cache of WSDL in php

前端 未结 4 2130
清酒与你
清酒与你 2021-02-19 01:42

I know how to disable WSDL-cache in PHP, but what about force a re-caching of the WSDL?

This is what i tried: I run my code with caching set to disabled, and the new me

4条回答
  •  别跟我提以往
    2021-02-19 02:24

    I'd try

    $limit = ini_get('soap.wsdl_cache_limit');
    ini_set('soap.wsdl_cache_limit', 0);
    ini_set('soap.wsdl_cache_limit', $limit);
    

    Or possibly set soap.wsdl_cache_ttl to 0 and back

提交回复
热议问题