The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to --enable-soap

Discussion in 'General Discussion' started by nguyenhoangvk, Oct 4, 2007.

  1. nguyenhoangvk

    nguyenhoangvk Registered

    Joined:
    Oct 4, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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. relejosh

    relejosh Registered

    Joined:
    Oct 28, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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
     
    #3 relejosh, Oct 28, 2008
    Last edited: Oct 28, 2008
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    447
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    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.
     
Loading...

Share This Page