Download ImageMagick download underground is: downloads. jmagick. org6.4.0 we download: idea cdImageMagick-6.4.
Download ImageMagick download underground is: http://downloads.jmagick.org/6.4.0/ we download: ImageMagick-6.4.0-0.tar.gz wget http://downloads.jmagick.org/6.4.0/ImageMagick-6.4.0-0.tar.gz install ImageMagick tar zvxf ImageMagick-6.4.0-0.tar.gzcd ImageMagick-6.4.
Download ImageMagick
Download ground is: http://downloads.jmagick.org/6.4.0/
Download:
ImageMagick-6.4.0-0.tar.gz
wget http://downloads.jmagick.org/6.4.0/ImageMagick-6.4.0-0.tar.gz
Install ImageMagick
tar zvxf ImageMagick-6.4.0-0.tar.gzcd ImageMagick-6.4.0-0./configure --prefix=/opt360/ImageMagick-6.4.0 --with-quantum-depth=8 --enable-share
Configure parameter description:
-Enable-shared compiling into a shared library
-Disable-static: do not compile it into a static library
-Disable-openmp: multithreading is disabled. The performance of Multithreading is not improved, but the CPU usage reaches 100%, so it is disabled.
-With-quantum-depth = 8 uses 8-bit color depth. My 12 million-pixel Digital Camera emits 8-digit color depth.
-With-windows-font-dir = directory, indicating the directory of the font file (manually copy the Chinese font file to this directory)
Installation command:
makemake install
Verify configuration:
identify -list configure
Supported image formats:
identify -list format
Last
pecl install imagick
You need to add
extension=imagick.so
Reactivate httpd
You can check phpinfo () to get imagick.
Original article address: The ImageMagick and PHP Imagick extensions are installed in CentOS. Thank you for sharing them with me.