Welcome to WebmasterWorld Guest from 54.145.173.36

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Apache php config

PHP Imagettftext not working

   
4:29 pm on Apr 14, 2005 (gmt 0)

10+ Year Member



(Server problem and not a script problem)

Trying to use a PHP script with Imagettftext, this works fine on 4 other servers.

I thought i found the answer elsewhere and contacted the host asking them to fix it, very quickly they did exactly as i asked but it still fails to work. Script produces no errors, other image generation works except the text generation.

I've tried the script on 5 different hosts and it works on all but one of them, so 100% sure its a server config problem and not a script problem.

PHP config info


PHP Version 4.3.10
System Linux 2.4.21-27.0.1.ELsmp #1
Configure Command './configure'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-gd'
'--enable-gd-native-ttf' '--with-png' '--with-ttf' '--with-jpeg'
'--with-freetype' '--with-xpm' '--with-xml' '--enable-bcmath'
'--enable-calendar' '--with-curl' '--enable-ftp' '--with-gd'
'--with-jpeg-dir=/usr/local' '--with-png-dir=/usr'
'--with-xpm-dir=/usr/X11R6' '--with-imap' '--with-imap-ssl'
'--with-kerberos' '--with-mcrypt' '--enable-magic-quotes'
'--with-mysql' '--enable-discard-path' '--with-pear' '--enable-sockets'
'--enable-track-vars' '--enable-versioning' '--with-zlib'

gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with TTF library
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

From what i’ve read elsewhere i think the problem is related the order of the config commands or the “GD FreeType Linkage with TTF library”

Anyone know for certain what the problem is so i can pass this on to my host.

Many Thanks