I am trying to build a PHP SOAP Client, using the SOAP extension. I am aware of NuSOAP and WSF/PHP, but was trying to stick with what came in WampServer.
I have a file soap_test.php:
<?php
$client = new SoapClient("[
soap.amazon.com]
;
var_dump($client->__getFunctions());
?>
which results in: Fatal error: Class 'SoapClient' not found in C:\wamp\www\...
At first from the CLI, I got the same error, but I cured that by editing C:\wamp\bin\php\php5.2.6\php.ini for PHP (uncomment extension=php_soap.dll)
When I tried to do the same for the web server, I still get the same error. I tried both php.ini and phpForApache.ini.
C:\wamp\bin\apache\apache2.2.8\bin\php.ini
C:\wamp\bin\php\php5.2.6\phpForApache.ini
Any ideas for other things I should look at?