homepage Welcome to WebmasterWorld Guest from 184.73.52.98
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Apache php config
PHP Imagettftext not working
humpo




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

(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

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved