PHP image library imagemagick installation method ,. The installation method of imagemagick in the PHP image library is described in detail in this article. Share it with you for your reference. The installation method is as follows: 1. download ImageMa PHP image library imagemagick,
This article details how to install imagemagick in the PHP image library. 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 jpegsrc.v9.tar cd jpeg-9 sudo ./configure sudo make sudo make test sudo make -n install
3. install ImageMagick
cd ImageMagick-6.8.5.10 sudo ./configure sudo make 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.bkjia.com/article/55526.htm
I hope this article will help you with PHP programming.
This article describes in detail how to install imagemagick in the PHP image library. Share it with you for your reference. The procedure is as follows: 1. download ImageMa...