gd library problems
Posted: Sat Jun 07, 2008 6:24 am
Hi,
I have PHP 5.3.2 running on Windows Server 2003 and trying to run this bit of code:
$im = imagecreate(65,20); I get the error "call to undefined function imagecreate()" I've done a bit of search on the forum and double checked the gd2.dll was enabled on the PHP.ini .
Finally I ran <?phpinfo()?> and got this info about the GD library:
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
but when I try to run any gd functions from the code ,the "call to undefined function" error comes up again.
Now I'm lost and don't know what to look at to solve my problem.
Any suggestion would be much appreciated.
Please somebody help
I have PHP 5.3.2 running on Windows Server 2003 and trying to run this bit of code:
$im = imagecreate(65,20); I get the error "call to undefined function imagecreate()" I've done a bit of search on the forum and double checked the gd2.dll was enabled on the PHP.ini .
Finally I ran <?phpinfo()?> and got this info about the GD library:
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
but when I try to run any gd functions from the code ,the "call to undefined function" error comes up again.
Now I'm lost and don't know what to look at to solve my problem.
Any suggestion would be much appreciated.
Please somebody help