PHP SoapClient unable to work with https WS

前端 未结 2 606
执笔经年
执笔经年 2021-01-13 20:55

i have a problem working with PHP SoapClient with a WS (WSDL) that contains https. my PHP version is 5.2.5. before you ask, yes, i am using PHP\'s Soap and openSSL extention

2条回答
  •  难免孤独
    2021-01-13 21:00

    You will need to have OpenSSL enabled in PHP to be able to retrieve content over https.

    Uncomment this line in php.ini

    extension=php_openssl.dll
    

    Look for the openssl section in your phpinfo():

    OpenSSL support => enabled  
    OpenSSL Library Version => OpenSSL 0.9.8k 25 Mar 2009
    OpenSSL Header Version => OpenSSL 0.9.8k 25 Mar 2009
    

提交回复
热议问题