下载扩展包
wget https://pecl.php.net/get/imagick-3.4.4.tgz
解压后开始编译安装
phpzie
./configure –with-php-config=/usr/local/php/bin/php-config
可能碰到如下错误
configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
apt-get install libmagickwand-dev libmagickcore-dev
运行安装需要的依赖项
make && make install
完成安装