安装过程

安装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

相关文章: