How to install SOAP?

jim.thornton

Verified User
Joined
Jan 1, 2008
Messages
334
I followed a thread that said to create a couple of directories and then copy over configure.php5 and add --enable-soap \ to the file. I then ran ./build php

I did this and restarted the httpd service.

SOAP is still not loading. Can anyone else please help me?
 
I followed a thread that said to create a couple of directories and then copy over configure.php5 and add --enable-soap \ to the file. I then ran ./build php

I did this and restarted the httpd service.

SOAP is still not loading. Can anyone else please help me?

Use --with-soap \
 
I did as suggested, ran # ./build php again and then I restarted httpd and nothing. SOAP still is not enabled.

Can anyone help me out with this? Is there another way to enable SOAP? Also, is there a way to build JUST PHP5 and not everything with the build script?
 
I did as suggested, ran # ./build php again and then I restarted httpd and nothing. SOAP still is not enabled.

Can anyone help me out with this? Is there another way to enable SOAP? Also, is there a way to build JUST PHP5 and not everything with the build script?

Ok do you edit the right php config file?

Edit the file and add somewhere in the middle:

--enable-soap \

then:

./build php all

Then it should work. This worked for me serveral times.
 
No I was not editing the proper file. I guess when I installed suphp it changed the configuration file I was using. I used ./build used_configs and was able to see what file was loading. I put the --enable-soap in that config file and it is now working correctly.

Thanks!
 
Your are using SUphp, you need to edit this file :

/usr/local/directadmin/custombuild/configure/suphp/configure.php5

and add this tag before latest line :

"--enable-soap" \

and goto your putty and use this command:

cd /usr/local/directadmin/custombuild
./build php n
 
Your are using SUphp, you need to edit this file :

/usr/local/directadmin/custombuild/configure/suphp/configure.php5

and add this tag before latest line :

"--enable-soap" \

and goto your putty and use this command:

cd /usr/local/directadmin/custombuild
./build php n


Tried this but receive following error:

Trying to make php...
Makefile:424: *** missing separator. Stop.


I've checked 'build' file on line 424 but there are no spaces only correct TAB's, am I looking in the wrong file? If so, please let me know which file I should be looking in, many thanks.
 
Thanks, any idea what that would be:

Code:
422 ####################################################
423
[B]424 # Rewrite directadmin-vhosts.conf[/B]
425 doVhosts(){
426   	if [ ! -d ${HTTPDCONF}/extra ]; then
427		mkdir -p ${HTTPDCONF}/extra
428	fi
429	echo -n '' > ${HTTPDCONF}/extra/directadmin-vhosts.conf
430	for i in `ls /usr/local/directadmin/data/users`; do { echo "Include /usr/local/directadmin/data/users/$i/httpd.conf" >> ${HTTPDCONF}/extra/directadmin-vhosts.conf; }; done;
431 }

####################################################

Line 424 seems to be REMed out :(
 
Its probably a mistake in /usr/local/directadmin/custombuild/configure/suphp/configure.php5
 
I've tried the build process with default: /usr/local/directadmin/custombuild/configure/suphp/configure.php5 and without it (renamed) and the error still persists.

Is there anyway I can get past this, I'm pretty gutted as I only wanted to include the soap service on a live site, eek. Which is now obviously a dead duck atm - oh dear.
 
I've now:

cd /usr/local/directadmin/custombuild/

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

After that I get this:
Trying to make php...
Makefile:469: *** missing separator. Stop.


Line 469 in Makefile:

Code:
469 require 5.004;
470 use strict;
471 package apxs;

Any ideas guys? Really struggling now.
 
What makefile is that? What is the complete path to the file.
 
That was php5.3, however seems that all 'Makefiles' are failing with the same "Missing separator" error albeit on different lines:

suPHP
/usr/local/directamin/custombuild/suphp-0.7.1/Makefile

Trying to make suPHP...
Makefile:98: *** missing separator. Stop.

Code:
[B]98[/B] require 5.004;
99 use strict;
100 package apxs;
 
There has to be something wrong in one of your recently edited files.

Make a new custombuild folder this way:
Code:
mv /usr/local/directadmin/custombuild /usr/local/directadmin/custombuild-bak
wget http://files.directadmin.com/services/custombuild/1.2/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
cp ../custombuild-bak/options.conf .
 
Thanks for the time, I tried that and it ran into the same issue when trying to Make, grr, really frustrating.

I've:

Code:
cd /usr/local/directadmin/custombuild
./build used_configs
Apache configuration file: /usr/local/directadmin/custombuild/custom/ap2/configure.apache
PHP5 configuration file: /usr/local/directadmin/custombuild/configure/ap2/configure.php5

Checked and Quadruple checked configure.php5 and it's still returning:

Code:
Trying to make php...
Makefile:422: *** missing separator.  Stop.
 
Back
Top