Tec-001--linux+imagick Installation

Source: Internet
Author: User
Tags imagemagick

1013 cd/usr/local/src/
1014 wget http://www.imagemagick.org/download/ImageMagick.tar.gz
1015 Tar zxvf ImageMagick.tar.gz
1018 CD imagemagick-7.0.5-5/
1019./configure--prefix=/usr/local/imagemagick
1020 Make && make install
1021 Export pkg_config_path=/usr/local/imagemagick/lib/pkgconfig/(yum install ImageMagick imagemagick-devel)


1024x768 wget http://pecl.php.net/get/imagick-3.0.1.tgz
1038 cp/home/wwwroot/git/imagick-3.0.1.tgz./
1039 Tar zxvf imagick-3.0.1.tgz
1051./configure--prefix=/usr/local/imagemagick
1052 make
1053 make Install
1054 Php-m|grep Imagick
1055/usr/local/php/bin/pecl Install Imagick
...............
Build Process completed successfully

Copy of the resulting imagick.so file to/usr/local/php//lib/php/extensions/no-debug-non-zts-20131226
Add imagick.so to the php.ini file
Then restart PHP to load the Imagick module.
viewing loaded modules using the/USR/LOCAL/PHP/BIN/PHP-M command

This article is from the "Yanzi" blog, make sure to keep this source http://daddysgirl.blog.51cto.com/1598612/1921591

Tec-001--linux+imagick Installation

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.