Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I don't know how the lamp server was installed. Launching a phpinfo() script i can read

--without-gd

even if i found the packages on the machine

root@mypc ~]# rpm -qa |grep php

php53-common-5.3.3-1.el5_6.1

php53-mysql-5.3.3-1.el5_6.1

php53-pdo-5.3.3-1.el5_6.1

php53-cli-5.3.3-1.el5_6.1

php53-5.3.3-1.el5_6.1



[root@mypc ~]# rpm -qa |grep gd

gd-2.0.33-9.4.el5_4.2

sysklogd-1.4.1-46.el5

gd-2.0.33-9.4.el5_4.2

gdbm-1.8.0-26.2.1

how can i activate php-gp?

share|improve this question
add comment

2 Answers 2

up vote 0 down vote accepted

Install GD with a

yum install php53-gd 

Then when loading the phpinfo page look down the page. There should be a separate block for gd.

share|improve this answer
add comment

Try with yum install php5-gd. Then just restart Apache with service httpd restart and you should be all set.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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