以下均为php实现

1
2
3
4
5
6
7
8
9
10
yum install ImageMagick ImageMagick-devel

wget http://pecl.php.net/get/imagick-x.x.x.tgz

tar xzvf image*.tgz
cd xxx

./configure --with-php-config=/xxxx/php-config

make && make install