Re: GD installed but imageFUNCTIONS dont work
| From: | Dale Frohman | Date: | Tue, 27 Feb 2001 19:04:26 +0000 |
| Subject: | Re: GD installed but imageFUNCTIONS dont work | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41857@lists.php.net to get a copy of this message | ||
i am getting similar errors when trying to run a script that requires GD.
It is installed, supposedly but i get:
Call to unsupported or undefined function imagettfbbox()
any and all advice is helpful
thanks
dale
On Tue, 27 Feb 2001, Helmut Ott wrote:
> Hi,
> hopefully somebody can help to solve this miracle.
>
> My phpinfo
>
> My provider (and phpinfo) says GD <=1.62 is installed.
> But when I run scripts using the php-imagefunctions
> that require gd like
> <?php
> Header ("Content-type: image/jpeg");
> $im = imagecreate (400, 30);
> $black = ImageColorAllocate ($im, 0, 0, 0);
> $white = ImageColorAllocate ($im, 255, 255, 255);
> ImageTTFText ($im, 20, 0, 10, 20, $white, "/path/arial.ttf",
> "Testing... Omega: Ω");
> ImageJPEG ($im);
> ImageDestroy ($im);
> ?>
> The lines containing the functions like createImage(), or ImagecolorAllocate() return error
> messages.
> How can I find out without doubt whether the functions work properly or not?
> Every advice is appreciated.
>
> Helmut
>
>
>
>