nguyenhoangvk

Registered
Oct 4, 2007
1
0
51
Hi,
I have some problem when trying to enable soap on my server.

I did this:

- Log in to SSH with root
- Reconfigure PHP with --enable-soap
- Make and make install

But then, apache couldnt start :| What should I do now ? Please help me
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
12
313
Houston, TX
cPanel Access Level
Root Administrator
Hi,
I have some problem when trying to enable soap on my server.

I did this:

- Log in to SSH with root
- Reconfigure PHP with --enable-soap
- Make and make install

But then, apache couldnt start :| What should I do now ? Please help me
There's a much easier/better way to do this if you are on cPanel 11 Stage 2 and are running PHP 5.

Go to WHM -> Software -> Apache Update. Then proceed through the configuration. When you get to Profile :: Apache :: PHP Main :: PHP Specific :: Basic click on Advanced Configuration. Under PHP 5, select the option for SOAP and proceed with the build process.
 

relejosh

Registered
Oct 28, 2008
1
0
51
Tried that (php4), soap not working

I am running php4 and trying to get SOAP to install and be available. I've gone through the WHM Apache Update process that cPanelDavidG suggested, but there was no SOAP option under "Exhaustive Options". So I added --enable-soap in /var/cpanel/easy/apache/rawopts/all_php4 and then ran the WHM Apache Update (under advise from another forum). That didn't seem to do anything, except that now --enable-soap shows up in the phpinfo results page.

I then did a "pear install soap" and that produced output that said it downloaded/installed soap and a few dependencies. So then after that I did another Apache Update in the WHM. However, the WordPress/Kickapps Single Sign On code that I'm working with still complains about not understanding SOAP calls.

Can you help me determine whether or not SOAP is installed correctly? Any other ideas?

RHEL4, php 4.4.7, apache 1.3 (I think)

Thanks,
Josh
 
Last edited:

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
12
313
Houston, TX
cPanel Access Level
Root Administrator
I am running php4 and trying to get SOAP to install and be available. I've gone through the WHM Apache Update process that cPanelDavidG suggested, but there was no SOAP option under "Exhaustive Options". So I added --enable-soap in /var/cpanel/easy/apache/rawopts/all_php4 and then ran the WHM Apache Update (under advise from another forum). That didn't seem to do anything, except that now --enable-soap shows up in the phpinfo results page.

I then did a "pear install soap" and that produced output that said it downloaded/installed soap and a few dependencies. So then after that I did another Apache Update in the WHM. However, the WordPress/Kickapps Single Sign On code that I'm working with still complains about not understanding SOAP calls.

Can you help me determine whether or not SOAP is installed correctly? Any other ideas?

RHEL4, php 4.4.7, apache 1.3 (I think)

Thanks,
Josh
SOAP is only supported for PHP 5 via EasyApache. PHP 4 is officially deprecated by the makers of PHP (since August, 2008), so I recommend you consider upgrading to PHP 5 ASAP.
 

JawadArshad

Well-Known Member
PartnerNOC
Apr 8, 2008
459
6
68
PK
cPanel Access Level
DataCenter Provider
If you have a high specs server, then you can have both PHP4 and PHP5 running at the same time, just select both while running easyapache. This way, you will have soap like David said (PHP5), and your PHP4 compatible scripts will run just as well. Just add the PHP4 handler to .htaccess where you want PHP4 to handle the scripts.