First you need to make sure you have the true type fonts installed, most systems should automatically but just in case go to shell and type
if it is not installed then do
to install it. I am not sure if you need the devel package as well but if the make fails later on try installing it to see if that will correct it. Next go to your directadmin customapache folder
Code:
cd /usr/local/directadmin/customapache
and type
then edit either configure.php or configure.php_ap2 depending on if you use apache 1.xx or 2.xx by typing
for apache 2.xx or
for apache 1.xx. Go down and add in
Code:
--with-ttf \
--enable-gd-native-ttf
to it so that it looks like
Code:
--enable-memory-limit \
--with-ttf \
--with-freetype=/usr/lib/freetype
at the end of the file. After that type
to rebuild php with gd and truetype for apache 2.xx or
to rebuild it for apache 1.xx. After this you may want to type
to rebuild zend for the new php install but other than that you just need to restart apache with
and you should be good to go.