enable soap

u4xlol

Verified User
Joined
Nov 12, 2009
Messages
59
hello

i want enable soap following:
--------------------------------------------------------
cd /usr/local/directadmin/custombuild
./build used_configs
vi --Directory-- Example ===>> /usr/local/directadmin/custombuild/configure/ap2/configure.php5
--enable-soap \
./build clean
./build update
./build php n
--------------------------------------------------------
but there is a problem:

Thank you for using PHP.

/usr/local/directadmin/custombuild/configure/ap2/configure.php5: line 31: --enable-soap: command not found

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file

please help me
 
--enable-soap=shared

I have no clue what you mean by:

vi --Directory-- Example ===>> /usr/local/directadmin/custombuild/configure/ap2/configure.php5
--enable-soap \

What is in this file /usr/local/directadmin/custombuild/configure/ap2/configure.php5

Type:

cat /usr/local/directadmin/custombuild/configure/ap2/configure.php5

and display the contents here if you still cannot get it working.
 
cat /usr/local/directadmin/custombuild/configure/ap2/configure.php5
#!/bin/sh
./configure \
--with-apxs2 \
--with-curl=/usr/local/lib \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--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 \
--with-iconv=/usr/local \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-mbstring
--enable-soap
 
On the line with :

--enable-mbstring

you need to add a \ so it looks like:

--enable-mbstring \
 
on different server shown this error:

configure: error: png.h not found.

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
 
on different server shown this error:

configure: error: png.h not found.

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
Try to rebuild libpng (./build libpng) and then try './build php n' again
 
tnx

If configure fails try --with-xpm-dir=<DIR>
configure: error: freetype.h not found.

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
 
help

after add --enable-soap \ in configure.php5 and save (:wq)
on ./build php n
error:
[root@server custombuild]# /usr/local/directadmin/custombuild/custom/ap2/configure.php5: line 32: --enable-soap: command not found
 
Last edited:
Back
Top