|
-
Oct 5th, 2008, 07:00 AM
#1
Thread Starter
Arabic Poster
[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
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Oct 5th, 2008, 01:35 PM
#2
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.
My usual boring signature: Something
-
Oct 5th, 2008, 02:21 PM
#3
Thread Starter
Arabic Poster
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
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Oct 5th, 2008, 03:20 PM
#4
Re: Class 'SoapServer' not found
Maybe you can do that. Try using the dl() function.
My usual boring signature: Something
-
Oct 5th, 2008, 04:30 PM
#5
Thread Starter
Arabic Poster
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
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Oct 5th, 2008, 05:21 PM
#6
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.
-
Oct 5th, 2008, 05:48 PM
#7
Thread Starter
Arabic Poster
Re: Class 'SoapServer' not found
LOL Really stupid thing, I should have noticed this from the beginning.
Thanks bro
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Nov 28th, 2008, 03:14 PM
#8
New Member
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?
-
Nov 28th, 2008, 05:51 PM
#9
Thread Starter
Arabic Poster
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
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|