php.2安装Imagick扩展

安装imagemagick

apt-get install imagemagick libmagickwand-dev libmagickcore-dev

安装imagemagick扩展

/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make
make install

打开php.ini的imagick扩展

extension=imagick

验证是否安装成功



你可能感兴趣的:(php)