PHP image library imagemagick installation method

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

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.