Page 1 of 1

Problem with GD library in PHP

Posted: Wed Oct 18, 2006 8:09 am
by kumarangopi
Notice: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' in C:\ASP\php\jpgraph-2.1.1\src\jpgraph.php on line 410
JpGraph Error This PHP installation is not configured with the GD library. Please recompile PHP with GD support to run JpGraph. (Neither function imagetypes() nor imagecreatefromstring() does exist)


Can someone explain this error, i have installed GD 2.0.33 and PHP 5.x.How to move ahead with this error ?

Posted: Wed Oct 18, 2006 8:30 am
by neophyte
A couple of questions...

Is the GD .dll in the ext folder? Is it also enabled in the php.ini file? Does the version of GD you listed support PNG?

Posted: Thu Oct 19, 2006 3:44 am
by kumarangopi
I dont know how to enable gd in php.ini, ther is not ext folder.I think GD 2.x supports PNG