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

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

WBOY
WBOYOriginal
2016-06-13 13:49:19887Durchsuche

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里有这东西啊

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn