undefined GD function
| From: | C.R.Vegelin | Date: | Mon, 04 Jun 2007 10:38:07 +0000 |
| Subject: | undefined GD function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-256041@lists.php.net to get a copy of this message | ||
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