gd2 not showing in phpinfo, is showing in php -i

[亡魂溺海] 提交于 2019-12-11 09:15:29

问题


I'm trying to get the gd2 extension to work on a WAMP stack (Win7(x64), Apache 2.4, PHP 5.3.26)

I've enabled extension=php_gd2.dll in php.ini and restarted Apache.

I believe my extension directory is reachable as I'm able to load other extensions (eg., curl, mbstring, etc.,) from the same location.

Oddly, php -i lists gd as enabled, but there's no mention of it in phpinfo():

gd

GD Support => enabled
GD Version => bundled (2.1.0 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.4.10
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
libJPEG Version => 8
PNG Support => enabled
libPNG Version => 1.2.50
WBMP Support => enabled
XPM Support => enabled
libXpm Version => 30411
XBM Support => enabled

Directive => Local Value => Master Value
gd.jpeg_ignore_warning => 0 => 0

Any ideas?

Will update if I find a solution, and many thanks in advance!

Nao

来源:https://stackoverflow.com/questions/17150860/gd2-not-showing-in-phpinfo-is-showing-in-php-i

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