Posted by Andy Hassall on 11/07/06 16:42
On 7 Nov 2006 06:58:19 -0800, "Anthony Smith" <mrsmithq@hotmail.com> wrote:
>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
>php_soap.so but i dont see it. I get this when I try and access the
>page:
>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.
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 :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
[Back to original message]
|