Home >Backend Development >PHP Tutorial >php追加编译imagick
一、先安装ImageMagick
二、
wget http://pecl.php.net/get/imagick-2.2.2.tgz
tar zxvf imagick-2.2.2.tgz
cd imagick-2.2.2/
/usr/local/webserver/php/bin/phpize
./configure --with-php-config=/usr/local/webserver/php/bin/php-config
make
make install
#最后,修改php.ini,加上(去除下面#号)
#extension = "imagick.so"