Welcome to WebmasterWorld Guest from 50.17.16.177

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Php error on Snow Leopard

imagettftext() error on Snow Leopard

     
4:03 am on Jan 9, 2010 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 2, 2004
posts: 187
votes: 0


Looking for a solution to a php error on a Macintosh.

Snow Leopard error:

Fatal error: Call to undefined function imagettftext()

Everythig works great except my images don't work. This is the error I get.
Any suggestions?

5:59 am on Jan 9, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:Apr 17, 2006
posts:195
votes: 0


Hi! Do you have GD or GD2 extension enabled?
2:27 pm on Jan 9, 2010 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 2, 2004
posts: 187
votes: 0


From my phpinfo.php: php 5.3.0, '--with-gd' ,'--enable-gd-native-ttf' , (Lots of others also, but these are the ones with "gd")

and

gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version 1.2.37
WBMP Support enabled
XBM Support enabled

2:36 pm on Jan 9, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:Apr 17, 2006
posts:195
votes: 0


Maybe your FreeType library is missing.

[us.php.net...]