Portal Home > Knowledgebase > Tech Support > WHM > How do I add the GD image library via cPanel/WHM?

How do I add the GD image library via cPanel/WHM?

The GD Image Library needs to be compiled with Apache and this can easily be done through WHM on your VPS.


Login to your WHM as the root user, then on the left hand side under Software, click on "Easy Apache (Apache Update)"


Unless you know exactly what you're doing and what you need - and how these options will interact with each other, you should just stay with the defaults.  Otherwise, your installation could become unusable!


You will most likely want to use the previously loaded config, then click on "Start customizing based on profile"


Chose your version of Apache, or keep the existing choice.


Chose your version(s) of PHP, and on the next page the build number.


Now you can choose from the "short list" of options to enable/disable.


Next, continue to the exhaustive list of options - where you will find "GD"


Select this and any other options you want to enable (If you don't know for sure what these options are, stay with just what you know you need - such as GD in this case)


When ready, click the "Save and build" button and acknowledge the change.


The process to recompile Apache and PHP will take some time - do not navigate away from the page or close the window.  Be patient and let it run to completion.  Depending on the options enabled it could take a very long time.  If you have shell access, you can do the same thing with the script located at /scripts/easyapache which you can run via "screen" to allow it to continue running without your interaction.


As always, we are willing to help with the installation of standard software such as this.  If you have a custom Apache or PHP setup however, these changes may overwrite or corrupt your existing settings or configuration!  If you haven't done anything special to your existing configuration, or have always used easy apache to make updates, you should be fine.


Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Live Chat
Speak with one of our live support reps!


Why Choose Us?
All of our web hosting plans come with the following cool features!
  • Powerful Control Panel
  • Online Based Website Builder
  • 3,000 Free Website Templates
  • One Click Script Installer
  • Unlimited Email accounts
  • Unlimited MySQL Databases
  • FREE Domain Name


Follow Us
Subscribe to SSA Host Announcements RSS
Follow Us on Twitter
Become a Fan on Facebook

website partners
Special Offer

Special Offer!

We want to give you 25% off the price of your A-La-Carte hosting package, for the life of your account! All you have to do is help us spread the word about the services we offer! Click the link below to get more information, and get your FREE coupon code for 25% off:

Special Offer