How to install SOAP – Tried everything

How to install SOAP – Tried everything


I am trying to install SOAPClient for php on my server.
I had previously installed it on CENT OS 5 perfectly few years back.

Now that i have changed server, i have Cent OS 6 (64bit) and with php 5.3

I edit my custom build file like this


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

And added the following code



*** I took care of the "\" before the last line.

Now when i do custom build


./build php

I get an error:


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

I have tried everything and i have hit a dead end. Please help.

i have tried following:

  1. –enable-soap=shared
  2. yum install php-soap (removed php* from yum.conf) [installed fine]
  3. yum install libc-client-devel [installed this software fine]
  4. perl -MCPAN -e ‚install SOAP::Lite’ [did not install]
  5. yum install patch.x86_64 gcc.x86_64 glibc.x86_64 libstdc++.x86_64 gcc-c++.x86_64 binutils.x86_64 libtool.x86_64 autoconf.x86_64 make.x86_64 [installed this software fine]

please help. whenever i build, i keep getting command not found


Comments are closed.