SOAP PHP fault parsing WSDL: failed to load external entity?

前端 未结 12 1869
耶瑟儿~
耶瑟儿~ 2020-11-27 05:37

I\'m trying to run a web service using PHP & SOAP, but all I\'m getting so far is this:

(SoapFault)[2] message which states: \'SOAP-ERROR: Parsing

12条回答
  •  眼角桃花
    2020-11-27 06:39

    The problem may lie in you don't have enabled openssl extention in your php.ini file

    go to your php.ini file end remove ; in line where extension=openssl is

    Of course in question code there is a part of code responsible for checking whether extension is loaded or not but maybe some uncautious forget about it

提交回复
热议问题