This article describes how to install imagemagick in the PHP image library. this image library has a wide range of application values. For more information about how to install imagemagick in the PHP image library, see this article. Share it with you for your reference. The specific method is as follows:
1. download ImageMagick
Http://www.imagemagick.org/download/ download ImageMagick-6.8.5-10.tar.gz, installation starts after the download is complete.
Cd./Downloads tar xzvf ImageMagick-6.8.5-10.tar.gz
2. install a third-party Image Library
ImageMagick must depend on jpeg, png, and other third-party image libraries when processing images.
Third-party image library: http://www.imagemagick.org/download/delegates/ downloading src.v9.tar.gz
Gunzip jepgsrc.v9.tar.gz tar-xvf unzip src.v9.tar cd jpeg-9 sudo./configure sudo make test sudo make-n install
3. install ImageMagick
Cd ImageMagick-6.8.5.10 sudo./configure sudo make install
After the installation is successful, run the convert-version command to check whether the installation is successful.
If error while loading shared libraries appears, see here to solve: http://www.bitsCN.com/article/55526.htm
I hope this article will help you with PHP programming.