FLY TO THE ZENITH OF SUCCESS

Arun Raj.R (Software Engineer)

How to install /configure GD library for PHP 5 on appache / windows xp ?

, , , , , , , ,

The default windows distribution of PHP comes with GD. So enabling the GD extension should be as simple as opening your php.ini file and uncommenting the necessary line. So this line:


Code:
;extension=php_gd2.dll
Should look like this (Remove the preceeding semi-colon):


Code:
extension=php_gd2.dll
Generally, your php.ini file will be in the folder in which you installed PHP.

How to create thumbnails ( Logic )How to create a directory structure ? How to create a tree structure ? How to design a database for a tree structure ?

Comments

Unregistered user Wednesday, September 10, 2008 10:52:00 AM

Anonymous writes: i hve php 5.2.5 on apache running on xp pro, but i dont have gd installed. i checked the ini file and it doesn't contain that line, i've also checked 'ext' folder and no gd in there... so how DO you install gd...

Unregistered user Saturday, September 20, 2008 7:35:35 PM

Anonymous writes: same here... same issue

Unregistered user Wednesday, October 1, 2008 7:26:04 PM

Alex writes: thnx Man!!!:happy:

Unregistered user Tuesday, January 27, 2009 3:34:21 AM

Anonymous writes: fdsv

Unregistered user Tuesday, January 27, 2009 3:36:44 AM

abir writes: in my php folder 2 php.ini file. one is php.ini-dist and other is php.ini-rec. i modified both the file, as u mentioned. but, it does not work properly.....................

Unregistered user Monday, June 1, 2009 1:25:42 AM

Hansz dot My writes: Go to : http://my.php.net/manual/en/image.installation.php for GD Installation

Arun Raj RArunRaj Wednesday, July 1, 2009 6:31:42 AM

thank you

Unregistered user Friday, July 9, 2010 5:22:27 AM

Diamond jonawal writes: I removed semicolon from ;extension=php_gd2.dll still my code is not working for images

Unregistered user Friday, January 14, 2011 5:59:44 PM

Anonymous writes: don't forget to restart apache after uncommenting extension=php_gd2.dll

Unregistered user Tuesday, April 5, 2011 9:32:23 PM

Anonymous writes: I've followed the steps but still my code is not running.

Write a comment

New comments have been disabled for this post.

May 2012
M T W T F S S
April 2012June 2012
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31