Re: function exists in command line but not in browser

From: Date: Mon, 19 Jul 2010 11:42:33 +0000
Subject: Re: function exists in command line but not in browser
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-306995@lists.php.net to get a copy of this message
On 19 July 2010 10:04, Nilesh Govindarajan <lists@itech7.com> wrote: > On Mon, Jul 19, 2010 at 2:22 PM, Shelley <myphplist@gmail.com> wrote: >> 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 >> > > Your set up is using two different INI files for command line and web. > In the phpinfo(), see Parsed Configuration File (something similar), > its at the top of the page, some four-five lines down. http://docs.php.net/manual/en/configuration.file.php

« previous php.general (#306995) next »