Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am trying to install this on a switch using buildroot, I added php and lighttpd to the build. I start the server and the webpage gives this error:

Fatal error Class 'SoapClient' not found

I went to php.ini and uncommented extension=php_soap.dll (changed .dll to .so as I'm on linux, this right?) I also stuck in cgi.fix_pathinfo = 1

The error is still there, any ideas?

Do I have to enable some option so that soap is supported? as I can't find php_soap anywhere

share|improve this question
is the .so file on the os in the first place? also have you checked php docs php.net/manual/en/soap.installation.php make sure you've got all the soap options there set. – Dave May 9 at 14:49
I can't find a .so file no. I have --enable-soap in my ./configure in buildroot, however I checked phpinfo on the switch and there is no mention of soap at all – Paul May 9 at 15:09
Did yo ucustom compile php then ? if you can't find the .so file then thats why its not showing up in phpinfo cos php does not have the library it requires to load the soapclient module. Sort out the missing library and it should work. – Dave May 9 at 15:10
When I was building php the makefile was being overwritten. I fixed that now and it all works cheers :) The so file is nowhere still but that doesnt seem to matter. – Paul May 9 at 15:57
1  
ahhh good stuff – Dave May 9 at 16:32
show 3 more comments

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.