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

前端 未结 3 547
北恋
北恋 2020-12-17 18:03

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

Can anyone point out some instructions or advice?

相关标签:
3条回答
  • 2020-12-17 18:25

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

    0 讨论(0)
  • 2020-12-17 18:31

    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".

    0 讨论(0)
  • 2020-12-17 18:37

    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

    0 讨论(0)
提交回复
热议问题