安裝過程
$ 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