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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.