Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are working on a client's sever that has PHP running without GD. We would like to enable GD support in PHP on that machine. What is the most straightforward way to enable GD. Is there a way to do it via RPM?



Currently running:

RedHat Enterprise Linux Server version 5.3 Using RPM

share|improve this question
up vote 5 down vote accepted

Typically in most modern packages this is done by installing the php-gd package with your package manager.

for RHEL 5.3 try:

yum install php5-gd
share|improve this answer

[root@a-sys1 ~]# yum search "php" | grep -i gd
php-gd.i386 : A module for PHP applications for using the gd graphics library

[root@a-sys1 ~]# yum install php-gd
Loading "dellsysidplugin2" plugin
etc etc

share|improve this answer
Good description of how to find the correct module. – Kevin Colby May 28 '09 at 19:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.