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


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
| improve this answer | |
  • I am getting Error: Package: gd-last-2.2.5-1.el6.remi.x86_64 (remi) Requires: libwebp.so.5()(64bit) – Koustuv Chatterjee Oct 11 '17 at 11:23

[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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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