473,387 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

PHP 5.1.6 and SOAP and Apache on Linux

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.

Nov 7 '06 #1
1 4235
On 7 Nov 2006 06:58:19 -0800, "Anthony Smith" <mr******@hotmail.comwrote:
>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 :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Nov 7 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jens | last post by:
Hello, i am trying to call a Apache WebService, which accepts NULL-Values for some Parameters of a specific Web-Method. NULL-Values are mapped within the soap-request by the .NET Client...
5
by: mariosp | last post by:
Hello, Thanks to all for your answers to my previous topic. I decide to install and configure both services on the same 2003 Server. Is that possible or I will crash it? Thanks again. ...
3
by: D Stocks | last post by:
Is it possible to have web page hosted by Linux/Apache retrieve data from (and insert data to) an MS Access database that resides on an (Internet-accessible) MS-based machine? Must the MS machine...
1
by: sinister | last post by:
I plan on installing PHP and Apache on a Linux box. (Plan on doing it with binaries that come with Linux distro.) One thing I'm confused about is how PHP is run as a module. I'm not that...
1
by: Gregor D. | last post by:
Hi, I want to consume an Apache Webservice with a C# .NET Client. Everything works fine, but I'm having problem with the deserialization of the complex type "Item" that is included in the...
3
by: Dhr von der Slahp | last post by:
Hi, Anyone got any clues on how to install the SOAP extension in PHP 5.2.0? Do I have to recompile PHP and then reinstall it, or is it simpler than that? Are there any URLs that explain the...
7
by: theGerm | last post by:
Is it possible for me to restart a service with PHP? I need to run this from a webpage /sbin/service squid reload
4
by: wbsurfver | last post by:
I have been trying to figure out apache/rampart soap security. We have a soap server in java and the client is PHP. I just read this article which concerns me because it seems to imply rampart/java...
2
by: christina | last post by:
I'm trying to run a soap server on apache using ext/SOAP. It's not working, and the error log has the line PHP Warning: PHP Startup: Unable to load dynamic library './ext\\php_soap.dll' - The...
1
by: athindrans | last post by:
hi I have the following queries... 1. I am developing my php,mysql site using WAMP. I will be also testing my site on WAMP. Since most of the hosting services are LAMP, what are the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.