1. Check / install Freetype lib, go to console with a root user and do
>yum -y install freetype
2. Recompile PHP with freetype lib, to do so , go to
http://yourserver.com:2030/index.php?module=php_switchSelect php version desired ej: PHP 5.5
Add this line to the configure list
with-freetype-dir=/usr/local/lib
Run compiler, wait 15 mins aprox. and check phpinfo
http://yourserver.com:2030/index.php?module=php_infoYou must see : Build Date (recent date, to check if compiler has done)
And GD module installed like :
gd
GD Support enabled
GD Version bundled (2.1.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.11
GIF Read Support enabled
GIF Create Support enabled
PNG Support enabled
libPNG Version 1.2.49
WBMP Support enabled
XBM Support enabled
Hope it helps someone.