PECL Install Imagick

Source: Internet
Author: User
Tags imagemagick pear

[Email protected]:/var/www$ sudo pecl install Imagick
Downloading imagick-2.3.0.tgz ...
Starting to download imagick-2.3.0.tgz (86,976 bytes)
..... done:86,976 bytes---------
source files, Building
Running:phpize
Configuring for:
PHP Api version:20041225
Zend Module Api no:20060613
Zend Extension Api no:220060519
Please provide the prefix of Imagemagick installation [AutoDetect]:
Building in/var/tmp/pear-build-root/imagick-2.3.0
Running:/tmp/pear/temp/imagick/configure--with-imagick
... snip ... * * *
Checking ImageMagick magickwand API Configuration program ... configure:error:not found. Provide a path to Magickwand-config or Wand-config program.
ERROR: '/tmp/pear/temp/imagick/configure--with-imagick ' failed

Need below command.

sudo apt-get install Libmagickwand-dev Libmagickcore-dev

/etc/init.d/apache2 restart

PECL Install Imagick

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.