imagick的安装

来源:互联网 发布:上海嘉定大数据公司 编辑:程序博客网 时间:2024/06/09 14:09

Update libraries, and packages

apt-get update

Remove obsolete things

apt-get autoremove

For the libraries of ImageMagick

apt-get install libmagickwand-dev

for the core class Imagick

apt-get install imagemagick

For create the binaries, and conections in beetween

pecl install imagick

Append the extension to your php.ini

echo "extension=imagick.so" >> /etc/php5/cli/php.ini

Restart Apache

service php5-fpm restart
0 0
原创粉丝点击