PHP HTTPS Access webservice_php tutorial

Source: Internet
Author: User
In the test environment, PHP accesses webservice in HTTP, and everything works.

But the webservice of the production environment is HTTPS, the program shows soap-error:parsing wsdl:couldn ' t load from ' HTTPS://***/SERVICE?WSDL ': Failed to load Exter NAL entity "https://***/service?wsdl", but open https://***/service?wsdl directly in the Web page, return to normal.

Configure the Environment:

PHP Server:wamp

Webservice:lamp


Check the information of the day, the original to do this:

Php_curl.dll and Php_openssl.dll are required under Windows, and Curl relies on libeay32.dll, Ssleay32.dll, and OpenSSL depending on libeay32.dll

That is, PHP server to load these modules.


http://www.bkjia.com/PHPjc/477977.html www.bkjia.com true http://www.bkjia.com/PHPjc/477977.html techarticle in the test environment, PHP accesses webservice in HTTP, and everything works. But the production environment of the WebService is HTTPS, the program shows soap-error:parsing wsdl:couldnt load from https://***/service?wsdl ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.