Forum Moderators: coopster

Message Too Old, No Replies

php, SOAP and https

         

Oliver Henniges

3:48 pm on Oct 13, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am trying to configure a SOAP-client under php for a site using https. It is an amazon webservice, to be precise. I use php 5.0.5 with soap (wsdl_cache_enabled=1) and curl (libcurl/7.14.0 OpenSSL/0.9.8 zlib/1.2.3 ) enabled.

However, my little script breaks with an error message:

Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?

any ideas?

coopster

6:41 pm on Oct 13, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Is your server set up with OpenSSL support?
See HTTP and HTTPS [php.net] for more information.

Oliver Henniges

11:49 am on Oct 14, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> Is your server set up with OpenSSL support?

I must admit I don't know. Is this a matter of php.ini or of configuring apache? Php.ini says:

Registered PHP Streams php, file, http, ftp, compress.zlib

For the time being, this is only relevant for my local test-environment, so no need to worry yet about security issues and my naivity;)

thx for your help, coopster.

coopster

4:19 pm on Oct 14, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Doesn't look like it. Have a look at the PHP openssl installation [php.net] manual page. Are you running Windows? If so, did you download and install an SSL-enabled version of Apache?

Oliver Henniges

12:20 pm on Oct 17, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



thx for your help,cooper, and plz excuse my late answer. All I did was uncomment this line in php.ini:

extension=php_openssl.dll

and make libeay32.dll accessible for windows. It works now, no need to configure apache as a full ssl-server with certificates an that stuff.