[SOLVED] problem with GD

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
dull1554
Forum Regular
Posts: 680
Joined: Sat Nov 22, 2003 11:26 am
Location: 42:21:35.359N, 76:02:20.688W

[SOLVED] problem with GD

Post by dull1554 »

i have gd enabled in my php.ini file, my extension_dir is set to the correct path and the php_gd2.dll file is in the extensions dir.

but i still get this error when i try to execute a script.

Code: Select all

Unknown(): Unable to load dynamic library 'C:\PHP\extension_dir\php_gd2.dll' - The specified procedure could not be found.
and i don't understand what could be wrong?!?!?!?!

*screams*HELP ME PLEASE*screams*
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

viewtopic.php?t=14566&highlight=gd+library

sounds like either a) you are trying to use a GD2 function or you didn't install it correctly. see the above URL and see if it helps any.

There is a tutorial on both Zend's and PHPBuilder's site, along with some other's that jason is a part of. do some looking around on the LINKS page on phpdn's site and see if it doesn't link you to it..

or maybe it's evilwalrus...

edit :
another is http://www.phpbuilder.com/board/showthr ... d=10263531
User avatar
dull1554
Forum Regular
Posts: 680
Joined: Sat Nov 22, 2003 11:26 am
Location: 42:21:35.359N, 76:02:20.688W

Post by dull1554 »

allright, i've tried everything suggested, from making my extension dir c: and putting my dlls there, restarting apache, restarting windows, but to no avail i still get the same old error

Code: Select all

Unknown(): Unable to load dynamic library 'C:\PHP\extension_dir\php_gd2.dll' - The specified procedure could not be found.
no matter what kind of script i try to run as long as it has php in it i still get the error......please......has anyone else had similar problems
User avatar
dull1554
Forum Regular
Posts: 680
Joined: Sat Nov 22, 2003 11:26 am
Location: 42:21:35.359N, 76:02:20.688W

Post by dull1554 »

[solved].......wrong dll version.......reinstalled php fixed everything.....



THANKYOU TO ALL OF YOU GUYS
Post Reply