Enabling SOAP

I’ve looked all over the net and not found an answer to my problem yet. All I want to do is enable SOAP, which I was told is just uncommenting the php_soap.dll extension in php.ini. But that line isn’t even in there.

I’m running PHP 5.2.0 on Apache 2.2.

Any step-by-step run-through would be hugely appreciated!

Have you consulted the good book

http://www.php.net/soap

That’s all well and good but nothing gives a simple solution to installing it.

Right I’ve sorted it. Just had to add the line “extension=php_soap.dll” in the php.ini. But now I have a new problem. I get 3 errors when I run it:

Notice: SoapClient::SoapClient() [function.SoapClient-SoapClient]: Unable to find the wrapper “https” - did you forget to enable it when you configured PHP? in C:\…\orangesoapclient.php on line 28

Warning: SoapClient::SoapClient() [function.SoapClient-SoapClient]: I/O warning : failed to load external entity “https://m2mconnect.orange.co.uk/orange-soap/services/MessageServiceByCountry?wsdl” in C:\…\orangesoapclient.php on line 28

Fatal error: SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘https://m2mconnect.orange.co.uk/orange-soap/services/MessageServiceByCountry?wsdl’ in C:\…\orangesoapclient.php on line [B]28

[/B]Line 27: $wsdl ‘https://m2mconnect.orange.co.uk/orange-soap/services/MessageServiceByCountry?wsdl’;
Line 28: $client = new SoapClient($wsdl, array(‘trace’ => 1, ‘exceptions’ => 0));

Forget that last one, found the error on my own. Just needed to uncomment the openssl extension in php.ini.