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.

where are the php sources?

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

  1. mraab

    mraab Member

    Joined:
    Apr 1, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Melbourne
    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?

    Thanks,
    Matthias
     
  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
    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.
     
Loading...

Share This Page