How do you enable GD in PHP when installing via RPM?
5,372
Solution 1
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
Solution 2
[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
Related videos on Youtube
Comments
-
GloryFish over 1 year
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
-
kodziek almost 15 yearsGood description of how to find the correct module.
-
koustuv over 6 yearsI am getting
Error: Package: gd-last-2.2.5-1.el6.remi.x86_64 (remi) Requires: libwebp.so.5()(64bit)