CentOS服务器上安装ImageMagick基本步骤
1、yum install ImageMagick-devel2、
cd /usr/local/src
wget http://pecl.php.net/get/imagick-2.2.0.tgz
tar -zxvf imagick-2.2.0.tgz
cd imagick-2.2.0
phpize
./configure
make
make install
3、在php配置文件中添加扩展
extension=imagick.so
4、验证是否安装成功:
$ convert logo: logo.gif
$ identify logo.gif
$ imdisplay