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

孤街浪徒 提交于 2019-12-18 04:44:09

问题


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



来源:https://stackoverflow.com/questions/7851011/how-do-i-install-gd-on-my-windows-server-version-of-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!