Enable SOAP problem

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
GaRd3NiA
Forum Newbie
Posts: 2
Joined: Tue Sep 11, 2007 10:48 pm

Enable SOAP problem

Post by GaRd3NiA »

Hi all, i have php 5.1.2 and apache2 installed in my suse linux box, i have installed the php5-soap extension as well. I am facing a problem is that even i have installed the php5-soap extension, but its still not enable. below is the details i capture from phpinfo();

Configure command
'../configure' '--prefix=/usr' '--datadir=/usr/share/php5' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--with-libdir=lib' '--includedir=/usr/include' '--sysconfdir=/etc/php5/apache2' '--with-config-file-path=/etc/php5/apache2' '--with-config-file-scan-dir=/etc/php5/conf.d' '--with-exec-dir=/usr/lib/php5/bin' '--enable-magic-quotes' '--enable-libxml' '--enable-session' '--with-mm' '--with-pcre-regex' '--enable-xml' '--enable-simplexml' '--enable-spl' '--enable-safe-mode' '--disable-debug' '--enable-memory-limit' '--enable-inline-optimization' '--enable-zend-multibyte' '--disable-rpath' '--with-apxs2=/usr/sbin/apxs2' '--disable-all' '--disable-cli'
additional .ini files parsed
/etc/php5/conf.d/bz2.ini, /etc/php5/conf.d/calendar.ini, /etc/php5/conf.d/curl.ini, /etc/php5/conf.d/dom.ini, /etc/php5/conf.d/gd.ini, /etc/php5/conf.d/iconv.ini, /etc/php5/conf.d/mbstring.ini, /etc/php5/conf.d/mcrypt.ini, /etc/php5/conf.d/mysql.ini, /etc/php5/conf.d/mysqli.ini, /etc/php5/conf.d/soap.ini, /etc/php5/conf.d/zlib.ini
i tried to use ./configure --enable-soap, but i get a "-bash: ./configure: No such file or directory" error.

Please advise. Thanks
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Moved to Installation and Configuration.
jeffery
Forum Contributor
Posts: 105
Joined: Mon Apr 03, 2006 3:13 am
Location: Melbourne, Australia
Contact:

Re: Enable SOAP problem

Post by jeffery »

GaRd3NiA wrote:Hi all, i have php 5.1.2 and apache2 installed in my suse linux box, i have installed the php5-soap extension as well. I am facing a problem is that even i have installed the php5-soap extension, but its still not enable. below is the details i capture from phpinfo();

Configure command
'../configure' '--prefix=/usr' '--datadir=/usr/share/php5' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--with-libdir=lib' '--includedir=/usr/include' '--sysconfdir=/etc/php5/apache2' '--with-config-file-path=/etc/php5/apache2' '--with-config-file-scan-dir=/etc/php5/conf.d' '--with-exec-dir=/usr/lib/php5/bin' '--enable-magic-quotes' '--enable-libxml' '--enable-session' '--with-mm' '--with-pcre-regex' '--enable-xml' '--enable-simplexml' '--enable-spl' '--enable-safe-mode' '--disable-debug' '--enable-memory-limit' '--enable-inline-optimization' '--enable-zend-multibyte' '--disable-rpath' '--with-apxs2=/usr/sbin/apxs2' '--disable-all' '--disable-cli'
additional .ini files parsed
/etc/php5/conf.d/bz2.ini, /etc/php5/conf.d/calendar.ini, /etc/php5/conf.d/curl.ini, /etc/php5/conf.d/dom.ini, /etc/php5/conf.d/gd.ini, /etc/php5/conf.d/iconv.ini, /etc/php5/conf.d/mbstring.ini, /etc/php5/conf.d/mcrypt.ini, /etc/php5/conf.d/mysql.ini, /etc/php5/conf.d/mysqli.ini, /etc/php5/conf.d/soap.ini, /etc/php5/conf.d/zlib.ini
i tried to use ./configure --enable-soap, but i get a "-bash: ./configure: No such file or directory" error.

Please advise. Thanks
Have you restarted apache webserver ?

What version of SuSe are you using? OpenSuSe 10.2 ?

I don't know why you would go through the trouble of compiling them when packages are there for suse.

cheers,
Jeffery
jeffery
Forum Contributor
Posts: 105
Joined: Mon Apr 03, 2006 3:13 am
Location: Melbourne, Australia
Contact:

Post by jeffery »

also Note:

if you have configured the soap extension manually, it doesn't automatically create the soap.ini file for you. You will have to manually create them and put it into the right location.

cheers,
Jeffery
Post Reply