Jump to content

Installing GD Library with PHP in Windows


Recommended Posts

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?
Link to comment
Share on other sites

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!
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.