An easy task, using yum. First step, see if it’s already installed.

[root@optusnet]# rpm -qa | grep php
php-common-5.1.6-27.el5_5.3
php-cli-5.1.6-27.el5_5.3
php-5.1.6-27.el5_5.3
php-pdo-5.1.6-27.el5_5.3
php-mysql-5.1.6-27.el5_5.3

If the GD Library isn’t present in that list, it wasn’t installed on the server yet. Install it using yum.

[root@optusnet]# yum install php-gd

Easy going, isn’t it?
Restart your apache, and you’re ready to rock.

[root@optusnet]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]

Simple as that!

Pin It on Pinterest

Share This