[PHP] function exists in command line but not in browser

2010-07-19 Thread Shelley
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 veery much.

-- 
With best regards,
Shelley Shyan
http://phparch.cn


Re: [PHP] function exists in command line but not in browser

2010-07-19 Thread Nilesh Govindarajan
On Mon, Jul 19, 2010 at 2:22 PM, Shelley myphpl...@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 veery 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.

-- 
Regards,
Nilesh Govindarajan
Facebook: http://www.facebook.com/nilesh.gr
Twitter: http://twitter.com/nileshgr
Website: http://www.itech7.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] function exists in command line but not in browser

2010-07-19 Thread Richard Quadling
On 19 July 2010 10:04, Nilesh Govindarajan li...@itech7.com wrote:
 On Mon, Jul 19, 2010 at 2:22 PM, Shelley myphpl...@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 veery 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php