PDA

View Full Version : Enabling GD-Native-TTF for PHP5



tripodyeti
07-10-2009, 02:21 PM
I have a friend running directadmin, ive managed to upgrade his server to run PHP 5 (using custombuild) however for some reason native-ttf for GD Libary wasnt installed , i found the command i need to prefix, however as im not over confident re-compiling php was wondering if someone would lend a hand maybe and point me in the right direction



--enable-gd-native-ttf


is the command that needs to be prefixed, however if i re-compile PHP is there anything else i need to put in for it to all work fine for directadmin (not sure if there is anything custom when directadmin installs php)

Many Thanks
Cliff

Rich-Boy
07-12-2009, 09:57 AM
I would use custombuild (http://www.directadmin.com/forum/showthread.php?t=29824) to recompile php properly but before you do you will need to add that prefix command to the bottom of the following file;

/usr/local/directadmin/custombuild/configure/ap2/configure.php5

Hope this helps

tripodyeti
07-13-2009, 03:17 AM
I would use custombuild (http://www.directadmin.com/forum/showthread.php?t=29824) to recompile php properly but before you do you will need to add that prefix command to the bottom of the following file;


Hope this helps




cat: /usr/local/directadmin/custombuild/configure/ap2/configure.php5: No such file or directory


Next idea?

Rich-Boy
07-22-2009, 05:09 AM
You will need to begin the custombuild instalation first, take a look at the link in my previous post.