error with Captcha
| From: | Tiron Adrian | Date: | Sat, 17 Mar 2007 15:55:50 +0000 |
| Subject: | error with Captcha | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-26865@lists.php.net to get a copy of this message | ||
Hello,
I'm trying the first example from the Captcha pakage(wich tries to create a png) and i get the
following error: Error initializing Image_Text (font missing?!).
This is form from my phpinfo():
./configure............' '--with-freetype-dir=/usr'...........and this:
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1
and the command locate ttf | grep -i COUR.TTF gives me:
/usr/share/fonts/msttcorefonts/cour.ttf
so perhaps i should recompile php with a different path to freetype?But i'm not sure exactly
which path.......any ideas?Thanks.
Is there a freetype extention available with yum?(I'm using FC6) .
Thanks
____________________________________________________________________________________
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php