How To Activate/Install GD Library In WAMP Under Windows

//How To Activate/Install GD Library In WAMP Under Windows

How To Activate/Install GD Library In WAMP Under Windows

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:

By |2010-02-16T19:13:41+00:00February 16th, 2010|Tutorials & Tips|4 Comments

About the Author:

Alvin Poh lives in Singapore, and is interested in marketing, techy stuff, and likes to just figure out how the two can work with each other. He can also be found on Google+.

4 Comments

  1. mide June 22, 2010 at 8:18 am - Reply

    Thanks Mate

  2. Wally June 29, 2011 at 3:44 am - Reply

    Thanks so much for sharring this 🙂

  3. Michael November 21, 2012 at 8:40 pm - Reply

    Ta. Mine already had the semicolon removed but it was useful to know where the command actually was.

  4. Ryon December 10, 2012 at 9:04 am - Reply

    Thanks a lot .I have searched for so long time .You one is the only one solved the problem with so short instructions ,You rock man

Leave A Comment


*