安装过程
$ 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
$ 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