PHP image library imagemagick installation method, _ PHP Tutorial-php Tutorial

Source: Internet
Author: User
Tags imagemagick
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...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.