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 Install GD Lib

Discussion in 'General Discussion' started by wizzerd1024, Jun 8, 2006.

  1. wizzerd1024

    wizzerd1024 Member

    Joined:
    Dec 4, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    We need to install GD Lib on our server to support thumnabils in our website. It does not appear that this can be done using WHM/Cpanel;s interface. It appears that we wil have to download and run the GDLib source file, and compile it etc. I am a novice at Linux and although I can login to the shell and knwo some basic Commands, I am not sure of all the steps needed. Some of the posts here say you have to rebuild Apache and PHP Lib etc - and it sounds quite daunting - I do not want to mess up our working webserver - since we have many sites runnng on it :)

    Is there a step-by-step guide to doing this right - without messing up our current Web config 0 -
    and also enabling it in PHP (we are using PHP 4.3 ? Thanks, Ron
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Go through this carefully :-
    Login to server as root.
    Execute the script :-
    /scripts/easyapache >>> after few minutes it will display 8 options.
    Select 7th option
    Select 'PHP Module ---->' and hit enter.
    Select GD using space bar.
    Select 'Exit', again select 'Exit' and then say 'Yes' to save.
    Let the script execute completely and you will find GD is installed on your machine.

    You mat get an error at the end of the script "httpd not restarted. Please contact your sysadmin"
    Just do :-
    service httpd stop
    service httpd start


    You can check whether GD is installed on your server at :-
    http://SeverIP/phpinfo.php
     
  3. wizzerd1024

    wizzerd1024 Member

    Joined:
    Dec 4, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the reply. Is there any way to backup the previous Apache Config - so if there are any problems,we can revert to the old working config ? Since I have come across posts where problems like Apache or PHP not working properly etc. after an Apache rebuild.
    Also, we need to enable curl cURL + SSL v7.10 and the Zend Optimizer for this software .
    Can all of this be enabled at the same time ? Thanks in advance for yoru help.
    Regards, Ron
     
  4. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    You can install cURL from easyapache but as for Zend i would compile that from source, its a fairly simple process and well documented.
     
Loading...

Share This Page