enabling soap under centos5

michael83

New member
Joined
Jul 6, 2013
Messages
2
I'm trying to install soap but without luck.

/usr/local/directadmin/custombuild/custom/suphp/configure.php5 looks like the following:

#!/bin/sh
"./configure" \
"--prefix=/usr/local/php5" \
"--enable-force-cgi-redirect" \
"--enable-fastcgi" \
"--with-config-file-path=/usr/local/etc/php5/cgi" \
"--with-curl=/usr/local/lib" \
"--with-gd" \
"--with-gettext" \
"--with-jpeg-dir=/usr/local/lib" \
"--with-freetype-dir=/usr/local/lib" \
"--with-kerberos" \
"--with-openssl" \
"--with-mcrypt" \
"--with-mhash" \
"--with-mysql=/usr" \
"--with-mysqli=/usr/bin/mysql_config" \
"--with-pcre-regex=/usr/local" \
"--with-pdo-mysql=/usr" \
"--with-pear" \
"--with-png-dir=/usr/local/lib" \
"--with-zlib" \
"--with-zlib-dir=/usr/local/lib" \
"--enable-zip" \
"--enable-gd-native-ttf" \
"--with-iconv=/usr/local" \
"--enable-bcmath" \
"--enable-calendar" \
"--enable-ftp" \
"--enable-magic-quotes" \
"--enable-sockets" \
"--enable-mbstring" \
"--with-imap=/usr/lib/dovecot/imap" \
"--with-imap-ssl" \
"--enable-soap"


after i however execute the following:

./build clean
./build update
./build php n

I get the following error: --enable-soap: command not found


What should i do?
 
In the end i solved it by removing php* in /etc/yum.conf, install php-soap: yum install php-soap, go back to /usr/local/directadmin/custombuild and then hitting
./build clean
./build update
./build php n
a few times. Crazy that it's so difficult to enable something as simple as soap, took me like four to five hours. Even with Java it's much simpler.
 
Back
Top