Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

where are the php sources?

Discussion in 'General Discussion' started by mraab, Apr 1, 2008.

  1. mraab

    mraab Member

    Apr 1, 2008
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I need to switch on libgd support in PHP5.

    I am using a Fedora based hosting plan with CPanel and Webhost Manager. PHP 5.2.5 was installed using the Webhost Manager (I checked, /usr/bin/php is not part of a package, rpm -qf)

    Well, it was configured without libgd support. The library is installed via RPM so all what's needed is recompiling php with support (configure --with-gd).

    BUT: Where are the sources? I cannot find them and I do not know where to get them from.

    Of course I could download a vanilla PHP and compile but I hesitate because I do not want to screw up the WebHost manager.

    What's the best way to proceed?

  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Nov 29, 2006
    Likes Received:
    Trophy Points:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Keep in mind that WHM itself is not served by PHP (maybe some third party Plug-ins are, but not WHM itself). Therefore, in the very rare instance that you do create a non-functional PHP via WHM, you will still be able to login to WHM and recompile PHP again.

    Enabling GD support via WHM is very easy though. Just go to WHM -> Software -> Apache Update. If you are prompted to update cPanel, I encourage you to do so then come back to this step. Start customizing based off the current profile and in step 5, click on the button for Exhaustive options. Under the PHP section, you will see a checkbox for GD. Simply check that box and begin the compile process to integrate GD support.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice