How do I install GD on my windows server version o

2020-03-01 16:04发布

问题:

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

Can anyone point out some instructions or advice?

回答1:

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



回答2:

You need to edit your php.ini (found in your C:/PHP folder if you installed PHP here). Add the following line (or remove the ; before it if it exists in there):

extension=php_gd2.dll



回答3:

In Windows download related Debug Pack on php.net download page, it's contain most useful modules. After, uncomment related extension, for example to gd2: ;extension=php_gd2.dll on php.ini and uncomment extension_dir = "ext".