By default, php comes with the GD Library package. However, it is disabled by a ‘comment out’ in the php.ini file within your server.
Most times, this doesn’t matter, and if it is required, there will be an error message telling you so.
I have personally run my server [ PHP/Apache/Windows/MySql ] without it for a while. But, if you’re running themed webpages, with everything built in and lots of image uploads, it may be required.
To do this, it’s simple, especially on a Windows install.
Simply open your php.ini file [ should be located on your server somewhere similar to c://program files/php/php.ini ] and edit the line:
and change it to
For me, this was on line 669 of my install.
I should note that during the fresh install of PHP, using the windows installer, there is an option to enable different libraries. I have, however, had trouble in the past re-running that install (*.exe) so I choose not to re-run the install. I have also never tried enabling it upon install, maybe some of you have and it works fine?
Oh, and after this is changed, and saved, remember to restart Apache!