I have both GD and Freetype installed but I can't make it work. The server run CentOS 5 with cpanel.
I read on php.net that I need to compile PHP with more options with
--with-gd --enable-gd-native-ttf --with-png --with-zlib-dir=/usr/local/lib/zlib-1.2.1 --with-ttf --with-jpeg-dir=/usr/local/lib/jpeg-6b/ --with-freetype-dir=/usr/local/lib/freetype-2.1.9/ --with-xpm-dir=/usr/X11R6/
However, I can't figure out where I should type this.