Category: General Linux

Install GD LIbrary For php.

1.

# yum list all | grep php   ( this shows all the php related packages ) 

2. once you found what you need ( gd in this case )

# yum --enablerepo=remi install php-gd.i386

3. restart apache and check if the install is successful.

# service httpd restart
# php -i | grep -i --color gd 

(this is the output you’re looking for )

gd
GD Support => enabled
GD Version => bundled (2.0.28 compatible)

 

Tags:

Linux PHP

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.