function exists in command line but not in browser
| From: | Shelley | Date: | Mon, 19 Jul 2010 08:52:20 +0000 |
| Subject: | function exists in command line but not in browser | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-306987@lists.php.net to get a copy of this message | ||
Hi all,
The problem is imagettfbbox().
jpgraph uses it to create truetype font images.
I have a phpinfo() script.
The command line output:
php i.php | grep Free
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.2.1
But when the script is loaded in the browser, the output has no such
"FreeType Support"!
So imagettfbbox() does not exist.
Somebody could offer some suggestions??
Thank you veeeeeery much.
--
With best regards,
Shelley Shyan
http://phparch.cn