1

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?

Thanks!

Update:

Currently running:

RedHat Enterprise Linux Server version 5.3 Using RPM

GloryFish
  • 113
  • 1
  • 6

2 Answers2

4

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
Kevin Colby
  • 1,760
  • 10
  • 14
  • I am getting `Error: Package: gd-last-2.2.5-1.el6.remi.x86_64 (remi) Requires: libwebp.so.5()(64bit)` – koustuv Oct 11 '17 at 11:23
3

[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

Matt Simmons
  • 20,218
  • 10
  • 67
  • 114