Jump to content

[SOLVED] Configuring PHP to run with SOAP enabled.


Recommended Posts

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!

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

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

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.