PHP安装imagemagick扩展imagick
点击下载p_w_picpathmagick系统源码包
点击下载php扩展imagick
安装p_w_picpathmagick:
#./configure--prefix=/usr/local/p_w_picpathmagick--with-bzlib=yes--with-fontconfig=yes--with-freetype=yes--with-gslib=yes--with-gvc=yes--with-jpeg=yes--with-jp2=yes--with-png=yes--with-tiff=yes
#make&&makeinstall
安装imagick:
解决依赖:
#libpnglibpng-devellibjpeglibjpeg-develfreetypefreetype-devel#phpize
#./configure--with-php-config=/usr/local/php/bin/php-config--with-imagick=/usr/local/p_w_picpathmagick
#make&&makeinstall
php.ini新增一行:
extension=imagick.so
重启Apache:
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。