Jump to content


Installing GD Library with PHP in Windows

  • Please log in to reply
3 replies to this topic

#1 msohlberg

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 14 October 2006 - 02:12 PM

I am using PHP 4.4.3 and GD Library.  I did the install and changed the extension information per the GD Library website.  When I test to see if GD Library is installed, I get the following Message:

PHP Warning: Unknown(): (null): Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=1 PHP compiled with module API=20020429, debug=0, thread-safety=1 These options need to match in Unknown on line 0

Does anyone know how I can fix this problem?

#2 ahmed17

  • Members
  • PipPipPip
  • Advanced Member
  • 59 posts

Posted 14 October 2006 - 02:15 PM

use WampServer  its good to mange all libary and support all libary

#3 wildteen88

  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 14 October 2006 - 04:45 PM

Looks like you are using an older/newer version of the gd extension for PHP4. Download PHP4.4.x zipped binaries and extract the contents of the zip to where you have PHP installed, making sure it overwrites all files in the process (it'll promt you).

GD comes with PHP. All you need to do is enable the php_gd2.dll extension in the php.ini by removing the ; (semi-colon) in front of extension=php_gd2.dll or extension=php_gd.dll

Also installing WAMP Server is the worst thing you can do!

#4 msohlberg

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 14 October 2006 - 05:29 PM

EXCELLENT advice Wilteen88!  It works perfectly now!

Thanks for the super fast response.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users