PHPhttps accesses webservice. In the test environment, PHP accesses webservice over http. everything works normally. But the production environment's webservice is https, and the program displays SOAP-ERROR: ParsingWSDL: Couldntloadfrom *** Service? In the wsdl test environment, PHP accesses webservice over http. everything works normally.
But the production environment's webservice is https, and the program displays SOAP-ERROR: Parsing WSDL: Couldn't load from 'https: // ***/Service? Wsdl ': failed to load external entity "https: // ***/Service? Wsdl ", but directly open https: // ***/Service? Wsdl, returns normal.
Configuration environment:
Php server: WAMP
Webservice: LAMP
I checked the information for a day. I used to do this:
In windows, php_curl.dll and php_openssl.dll are required. curl depends on libeay32.dll, ssleay32.dll, and openssl depends on libeay32.dll.
That is, the PHP server needs to load the above modules.
Bytes. But the production environment's webservice is https, and the program displays SOAP-ERROR: Parsing WSDL: Couldnt load from https: // ***/Service? Wsdl...