linux(centos)一键安装imageMagick

安装:

yum install -y  libtool-ltdl-devel tcl-devel libpng-devel libjpeg-devel ghostscript-devel bzip2-devel freetype-devel libtiff-devel && cd / && wget https://imagemagick.org/download/ImageMagick.tar.gz && tar xvzf ImageMagick.tar.gz && cd /ImageMagick-7.0.10-16 && ./configure --with-modules --enable-shared --with-perl && make && make install && ldconfig /usr/local/lib && convert -version

测试:

convert -version

你可能感兴趣的:(php)