Regarding the installation method of the PHP image library imagemagick, as well as the installation of the third-party image libraries jpeg and pn libraries required by the imagemagick image library, friends in need can refer to it.
How to install the php image library imagemagick. Specific steps: 1. Download ImageMagick http://www.imagemagick.org/download/ Download ImageMagick-6.8.5-10.tar.gz and start the installation after the download is complete. cd ./Downloads tar xzvf ImageMagick-6.8.5-10.tar.gz2. Install third-party image library ImageMagick needs to rely on third-party image libraries such as jpeg, png and so on when processing images. Third-party image library download address: http://www.imagemagick.org/download/delegates/ Download jpegsrc.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 install3. Install ImageMagick cd ImageMagick-6.8.5.10 sudo ./configure sudo make sudo make installAfter successful installation, use the command: convert -version to check whether the installation is successful. If the prompt: error while loading shared libraries, please refer to: http://bbs.it-home.org/php/25872.html to solve it. |