Home > Backend Development > PHP Tutorial > How to install the php image library imagemagick? Method steps

How to install the php image library imagemagick? Method steps

WBOY
Release: 2016-07-25 08:52:30
Original
1053 people have browsed it
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.gz

2. 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 install

3. Install ImageMagick

cd ImageMagick-6.8.5.10 sudo ./configure sudo make sudo make install

After 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.



source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template