PHP compilation through web interface not useful?

#1
I've been trying to get gd with freetype support by adding --with-ttf or --with-freetype and I can't still get it to work through the interface. How would I do with this? Do I actually need to recompile php from source?

Regards
 
#2
I've been trying to get gd with freetype support by adding --with-ttf or --with-freetype and I can't still get it to work through the interface. How would I do with this? Do I actually need to recompile php from source?

Regards
Install all GD libs/deps first:

Code:
yum -y install libpng-devel libpng10 libpng10-devel libjpeg-devel gd gd-devel ImageMagick ImageMagick-devel ImageMagick-perl
for FC/CentOS

Add following to the PHP configuration string:

Code:
'--with-pic' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--with-gettext' '--with-jpeg-dir=/usr' '--with-png'
Compile your PHP.
 
Top