[RESOLVED] Class 'SoapServer' not found
Hey,
The title might make my problem look simple. It isn't (hope I'm wrong)
Here is my problem: I've developed a web service using php5 on an Apache2.2 server. My problem is with my host, they won't allow me to edit or modify the php.ini settings.
So I was wondering if it's possible to somehow embed the Soap library to my project.
Please help meeeeeeeeeeeeeeeee
Re: Class 'SoapServer' not found
Have you asked your host to add the extension for you?
I'm not sure what you mean by embed it... I googled it, and nothing came up.
Re: Class 'SoapServer' not found
By embedding it I mean: copy the .dll or the .so file into a folder of mine (relative to the project) and let apache know about it.
I'm not really an expert in apache or php. But in ASP.Net (IIS) you can reference any library you want as long as you have access to it's file
Re: Class 'SoapServer' not found
Maybe you can do that. Try using the dl() function.
Re: Class 'SoapServer' not found
Ok, I looked up the .so files for the SOAP but instead I found the .php source files for the entire package (On Ubuntu 8.04) so I modified the code and copied it to my web site. Got a few errors, fixed them but for some reason I'm still getting "Fatal error: Class 'SoapServer' not found in ...."
I've added a require_once to the beginning of my web service
Code:
<?php
require_once 'Server.php';
where Server.php contains the definition for class SOAP_Server..
Am I doing anything wrong?
Any ideas
Re: Class 'SoapServer' not found
Maybe you should change you code so it uses SOAP_Server instead of SoapServer. If you want to check weather of not SOAP support is enabled then you just need to make a call to phpinfo() and look for the SOAP section.
Re: Class 'SoapServer' not found
LOL Really stupid thing, I should have noticed this from the beginning.
Thanks bro
Re: [RESOLVED] Class 'SoapServer' not found
Did this work? I am having the same problem on my host (Powweb) as they allow the use of Soap but have disabled the SoapServer call. I thought about including the definition myself and was wondering if anyone else had managed to do that. Where did you find the source for it?
Re: [RESOLVED] Class 'SoapServer' not found
It did work, and is still working just fine. I got the source from my Ubuntu repos, meaning it's open source and you can look it up