Kurrel Posted November 16, 2007 Share Posted November 16, 2007 Hi people, I don't know if this belongs here, but I hope so! I'm trying to start using SOAP in my applications, but at the moment I'm running up against installation problems. Apparently PHP 5 and up comes with a natural SOAP API and I am running 5.2.0. php.net says that ' This extension is only available if PHP was configured with --enable-soap.' and I must admit I'm just drawing a blank. Just got too many things going and believe I should know how to do this any given day. How do I configure PHP with --enable-soap? The php.ini? The command line? I'm baffled, please help! Quote Link to comment Share on other sites More sharing options...
rajivgonsalves Posted November 16, 2007 Share Posted November 16, 2007 well if your using a Unix-Linux machine then when you compiled PHP you would have to add the "--enable-soap" parameter for it to work otherwise the extension will not work, however you can recompile php at a later time to add the extension but its quite a lot of hassle Quote Link to comment Share on other sites More sharing options...
Kurrel Posted November 16, 2007 Author Share Posted November 16, 2007 I'll have to do that when I move the code to the server... For the time being, though, I'm testing on a windows WAMP localhost... simpler or even harder? Quote Link to comment Share on other sites More sharing options...
rajivgonsalves Posted November 16, 2007 Share Posted November 16, 2007 well if your on windows just check the following 1. in php.ini, you have the line: extension=php_soap.dll 2. in php.ini, you have: extension_dir = "<full path to the 'ext' directory>" 3. in the ext directory, you have the file: php_soap.dll Quote Link to comment Share on other sites More sharing options...
Kurrel Posted November 16, 2007 Author Share Posted November 16, 2007 Beautiful!! That gets it working. Thank you very much for covering my complete lapse of ability to think. It's been a very long week. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.