Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I install GD on my windows server version of PHP

Tags:

I am running Windows Server 2003 and need to install a version of GD.

Can anyone point out some instructions or advice?

like image 610
Mazatec Avatar asked Oct 21 '11 14:10

Mazatec


People also ask

How do I know if GD is installed in PHP?

Is GD turned on? You can check to see if the GD library is enabled by creating a simple phpinfo page on your web server. Open this file in Notepad, or your preferred WYSIWYG editor such as Dreamweaver. phpinfo();


2 Answers

Check php_gd2.dll is in your extension directory and uncomment ;extension=php_gd2.dll of your php.ini.

like image 126
xdazz Avatar answered Oct 13 '22 23:10

xdazz


It was in my c:\xampp\php\php.ini

;extension=gd

This was commented out as you can see, removing ; and restarting apache server fixed my problem.

like image 32
CFNinja Avatar answered Oct 13 '22 23:10

CFNinja