How To Activate/Install GD Library In WAMP Under Windows

Tue, Feb 16, 2010

Tutorials & Tips


Some projects require activation of the GD library, and this is especially true when you have to do image manipulation with your PHP script. If you’re using WAMP (Windows Apache MySQL PHP) in Windows, then good news: WAMP comes with GD library, just that it’s not activated by default.

gd library logo

To activate the GD library, go to your WAMP’s PHP.ini file, which can be found by clicking on the WAMP icon in your system tray. Go to “Config files”, and you’ll find it in there.

Next, in PHP.ini, search for the following line of code:

;extension=php_gd2.dll

Now remove the semicolon from the beginning of that line, so that the line now looks like this:

extension=php_gd2.dll

Restart WAMP, and your GD library will be activated.

Similar Posts:

Tags: , , , , , , , , , , , , , , , , , , , ,
, , , , , , , , , , , , , , , , , , , ,

This post was written by:

- Alvin is a Singaporean who's interested in marketing, techy stuff and likes to just figure out how the two can work with each other. On top of his blog, you can also follow him on Twitter.

Get Alvin's Report On How To Blog Successfully - Free!

1 Comments For This Post

  1. mide Says:

    Thanks Mate

Leave a Reply

*