Page 1 of 1

Enable SOAP problem

Posted: Wed Sep 12, 2007 12:28 am
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

Posted: Wed Sep 12, 2007 12:17 pm
by John Cartwright
Moved to Installation and Configuration.

Re: Enable SOAP problem

Posted: Thu Sep 13, 2007 12:12 am
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

Posted: Thu Sep 13, 2007 12:15 am
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