安装PHP ImageMagick笔记

安装过程

$ pecl install imagick

当提示Please provide the prefix of Imagemagick installation [autodetect] :直接按Enter

$ bash -c "echo extension=imagick.so > /etc/phpX.Y-sp/conf.d/imagick.ini"
$ service php-fpm restart
参考资料:https://serverpilot.io/docs/how-to-install-the-php-imagemagick-extension
posted @ 2018-12-29 23:04  zhuxiaoxi  阅读(1529)  评论(0编辑  收藏  举报