No formats supported in PHP/ImageMagik/imagick

我的未来我决定 提交于 2019-12-11 10:11:24

问题


I've installed pecl-imagick from FreeBSD ports and it can't do a thing with images.

phpinfo() reports this:

ImageMagick number of supported formats:    0
ImageMagick supported formats:  no value

But ImageMagick installed correctly and show all it's stuff:

$ convert -list configure
...
DELEGATES     bzlib fftw fontconfig jpeg jng lzma png zlib
...

What could be wrong and how to fix it?


回答1:


I found that having an extension for GraphicsMagick (a "better" fork) installed causes that.

If you don't feel how it makes any sense, I'm totally with you.




回答2:


Did you install PHP from ports? Update your ports and re-install packages.



来源:https://stackoverflow.com/questions/6595418/no-formats-supported-in-php-imagemagik-imagick

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