Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GD library doesn't work

Status
Not open for further replies.

diezy

Technical User
Sep 2, 2002
50
CA
hey,
im running php 5, however when i run certain functions like:
ImageCreateFromJpeg()
or
ImageCreateTrueColor()

i get error displaying:
Call to undefined function ImageCreateFromJpeg() ...etc

i looked in my php/etc folder and i do see the php_gd2.dll

and it does appear to be running when i check my phpinfo()-
saying:
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared";

can someone tell me why i get these errors? or tell me if my GD is installed properly?

thanks






 
If you have GD properly installed and enabled, your phpinfo() should show a GD section with specific info on what is enabled and what not.
 
thanks for the tip

i am using WAMP server (it's a pre-packaged server with php, apache, and mysql)

when i went to check my php.ini file the php_gd2.dll option was commented out. ";"

when uncommented the GD option and restarted my apache server, i checked my phpinfo() i after saw GD section with specific info on what is enabled and what not.




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top