PHP 5.1.6 and SOAP and Apache on Linux

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I thought I could just use the --enable-soap when I configure php, but
that does not seem to work. I was looking for it to create a but i dont see it. I get this when I try and access the
Fatal error: Class 'soapclient' not found in
/home/as411161/apache/htdocs/index4.php on line 3

If I run php from a command line, things work fine.

Re: PHP 5.1.6 and SOAP and Apache on Linux

Quoted text here. Click to load it

 Is your webserver running the same instance of PHP as your command line?

 Does "--enable-soap" and information about the SOAP module show up in the
output of the phpinfo() function when run from the webserver?

 Has your webserver been stopped and started since you recompiled PHP with SOAP
support? Apache's "restart" only reloads its own configuration files, and
doesn't unload and reload shared modules such as PHP - you have to stop and
start it for that.

Andy Hassall :: :: :: disk and FTP usage analysis tool

Site Timeline