fix imagick
安装php拓展 imagick,上来就编译 ImageMagick,出现各种问题:
1 convert: no decode delegate for this image format `JPG' @ error/constitute.c/ReadImage/561. 2 convert: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/561. 3 ERROR: `/tmp/pear/temp/imagick/configure --with-imagick' failed
试了很多方案,并没有解决:
https://developer.aliyun.com/ask/80944?spm=a2c6h.13159736
https://blog.csdn.net/singinneteasy/article/details/53338000
https://www.jianshu.com/p/98e7f7f1239c
https://blog.csdn.net/u014237185/article/details/40487577
后来发现采用简单的 yum 安装 ImageMagick,再编译 imagick 拓展就能用了
1 yum install -y ImageMagick 2 yum install -y ImageMagick-devel
----------------- 2020-05-23 ----------------
fix:ImageMagick supported formats => no value
此种情况,可以在 yum 安装 ImageMagick 之后重新编译 imagick 拓展。