Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    1

    Angry How to --enable-soap

    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

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by nguyenhoangvk View Post
    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.

  3. #3
    Registered User
    Join Date
    Oct 2008
    Posts
    1

    Default 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 by relejosh; 10-28-2008 at 12:00 PM.

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by relejosh View Post
    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.

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2008
    Location
    PK
    Posts
    443

    Default

    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.
    1 solution works for all problems. Trying harder!
    HostMasterTips - Understanding Tech Support

Similar Threads & Tags
Similar threads

  1. Need SOAP help.
    By MarcelB in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-03-2010, 08:58 AM
  2. Enable SOAP in PHP5. Need easyapache 3?
    By edkay in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-01-2007, 10:17 AM
  3. Recompile with --enable-soap?
    By barkster in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-02-2006, 05:07 AM
  4. How do we enable SOAP extension in PHP?
    By gegervision in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-02-2005, 03:52 AM
  5. PHP 5 with SOAP (how to ./configure --enable-soap)
    By jfxberns in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-03-2004, 06:52 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube