Re: undefined GD function
| From: | Richard Lynch | Date: | Tue, 05 Jun 2007 22:30:34 +0000 |
| Subject: | Re: undefined GD function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-256138@lists.php.net to get a copy of this message | ||
getimagesize is okay, because it's not really really a GD function,
even though it's lumped in there...
Did you restart Apache? (or the whole machine if you run IIS)?
On Mon, June 4, 2007 5:38 am, C.R.Vegelin wrote:
> Hi All,
>
> I am testing some GD functions, but I'm getting "undefined function"
> errors.
> I checked php.ini and changed
> ;extension=php_gd2.dll
> to
> extension=php_gd2.dll
>
> The php.ini file contains: extension_dir = "c:/php/ext"
> and this directory does contain php_gd2.dll (version 5.2.0.0)
> I am using Windows XP, PHP 5.2.0 and IIS 5.1.
>
> The function getimagesize($filename); is okay,
> but imagecreatetruecolor($width, $height); says "undefined function".
>
> I would appreciate some hints.
>
> TIA, Cor
>
>
>
>
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?