w1ll — 2007-03-31T14:45:57-04:00 — #1
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!
mandes — 2007-04-01T08:32:14-04:00 — #2
Have you consulted the good book
w1ll — 2007-04-01T09:55:04-04:00 — #3
That's all well and good but nothing gives a simple solution to installing it.
w1ll — 2007-04-01T10:04:02-04:00 — #4
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() 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));
w1ll — 2007-04-01T10:11:09-04:00 — #5
Forget that last one, found the error on my own. Just needed to uncomment the openssl extension in php.ini.