gd library?
Posted by: xaser (---.dsl.ip.tiscali.nl)
Date: August 11, 2006 07:44PM

i've installed wamp. but i cannot upload images. how can i install gd library?

Options: ReplyQuote
Re: gd library?
Posted by: CyberSpatium (67.170.181.---)
Date: August 12, 2006 12:17AM

GD has nothing to do with uploading images. it is used to manipulate and create images. If your images are larger than 2mb, you will need to edit your php.ini file to allow larger files to be uploaded.

first check if upload support is enabled:
file_uploads = On

if it is off, change it to on.

now to increase the max file size, find:
upload_max_filesize = 2M

change to:
upload_max_filesize = 5M

I have set this above to 5 mb. if you need larger, change it to a larger value.

to enable gd, click on the wamp icon and enable the gd extension. or you can edit your php.ini file yourself:
;extension=php_gd2.dll

change it to:
extension=php_gd2.dll

after you edit anything in your php.ini or httpd.conf file, you need to restart apache for the new settings to take effect.

Options: ReplyQuote


Sorry, only registered users may post in this forum.