Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have both GD and Freetype installed but I can't make it work. The server run CentOS 5 with cpanel.

I read on that I need to compile PHP with more options with


However, I can't figure out where I should type this.

share|improve this question

1 Answer 1

how about

share|improve this answer
where i should put this? if i write it in command line it says that the command is not found – GabrielCol Jun 1 '11 at 9:10
please check if php-gd installed or not: rpm -qa|grep php, if not try install using yum php-gd. if you cannot install using yum you need to download the php source code and compile it using ./configure --with-freetype --with-freetype-dir=/usr/local/lib/freetype-2.1.9/ foo – chocripple Jun 1 '11 at 10:08

Your Answer


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.