For a long time did not write blog, usually the content recorded in the impression notes. But I was plagued by this problem for a long time, the degree Niang, Google turned over, most of the answers can not solve my problem.
The details of the problem are as follows, the PHP soap interface, which intermittently occurs with the SOAP WSDL error-"Failed to load external entity". The key to the problem is "intermittent", and it's easier to check for errors if you keep an error.
The solution on the network is either to open OpenSSL or to change to no WSDL mode, and none of the above will solve my problem.
Finally, in the official forum of Zend found a method, and the source point is the PHP manual, or that sentence, encountered a problem to read more manual. ORZ Manual!
If Libxml_disable_entity_loader () have been called already, add before each soapclient instantiation:
Libxml_disable_entity_loader (FALSE);
Above any calls to instantiate SoapClient.
Before all soapclient are initialized (at the top of the page), add this sentence Libxml_disable_entity_loader (false);
Original link http://forums.zend.com/viewtopic.php?f=8&t=116708#p225468
The above describes the resolution of the PHP SOAP intermittent error Solution:soap WSDL-"failed to load external entity", including aspects of the content, I hope to be interested in PHP tutorial friends helpful.