在imagemagick官网:http://www.imagemagick.org/script/download.php 下载程序以及对应的php imagick扩展,在linux/windows系统安装成功后可在phpinfo中查看是否安装成功