Home >Backend Development >PHP Tutorial > PHP中GD库的官方站文档中有显示ImageGifAnimBegin这个函数,为什么小弟我用在PHP中会提示undefined function

PHP中GD库的官方站文档中有显示ImageGifAnimBegin这个函数,为什么小弟我用在PHP中会提示undefined function

WBOY
WBOYOriginal
2016-06-13 13:49:19953browse

PHP中GD库的官方站文档中有显示ImageGifAnimBegin这个函数,为什么我用在PHP中会提示undefined function?
http://www.libgd.org/ImageCreation#void_gdImageGifAnimBegin.28gdImagePtr_im.2C_FILE_.2Aout.2C_int_GlobalCM.2C_int_Loops.29
以上链接是GD库的官方ImageCreation的说明文档,其中有对gdImageGifAnimBegin函数进说说明,还有例子,可为什么我用在PHP中时会提示undefined function呢

------解决方案--------------------
未安装gd2

将 php\extensions\php_gd2.dll copy 到windows目录,
修改php.ini 中 ";extension=php_gd2.dll"前面的 ";"去掉。

------解决方案--------------------
人家并没有说PHP里有这东西啊

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn