Hey
what version of php u have. if u have the php 4.3 (and greater) the gd library comes with the php bundle.
all u have to is
go to the php.ini file and take the semicolon from php_gd2.dll
it will be similar to this
;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
;
PHPExt
;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_crack.dll
;extension=php_curl.dll
;extension=php_db.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_dbx.dll
;extension=php_domxml.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
extension=php_gd2.dll (check out the semicolon is taken)
this will enable the gd library.
if u wanna check whether gd is enabled
write a simple name sampe.php
<?php
echo phpinfo();
?>
run the file in http://localhost/sample.php
the html document will show u the details
hope this helps u.