Cannot locate header file MagickWand.h error resolution when installing Imagick for PHP, imagick_php tutorial

Source: Internet
Author: User
Tags imagemagick

A workaround for cannot locate header file MagickWand.h error occurred while installing Imagick for PHP Imagick


Install PHP Imagick on your new outfit today,

The environment is as follows:
PHP 5.4.13
Imagemagick-6.8.3-10
imagick-3.0.1

But there was a problem. It was death that found MagickWand.h:

Checking for MagickWand.h header file ... configure:error:Cannot locate header file MagickWand.h

But I clearly installed the imagemagick of the AH. Google has a half-day, also can not solve the problem. After the ImageMagick on the other server to find that the original ImageMagick 6.8 This version of the directory structure has changed, the old version of the header file is placed in/ Of the Usr/local/include/imagemagick directory,

and ImageMagick 6.8 is on the/usr/local/include/imagemagick-6.

Add a soft connection

The command is as follows:

Copy the Code code as follows:
Ln-s/usr/local/include/imagemagick-6/usr/local/include/imagemagick
Make && make && install

Compile through!


In PHP, Imagick and Magickwand libraries need the GD library support? An error occurred today when I found a file reading PNG format with Readimage

The graphics image needs to be supported by the GD library.


http://www.bkjia.com/PHPjc/904931.html www.bkjia.com true http://www.bkjia.com/PHPjc/904931.html techarticle install Imagick for PHP cannot locate header file MagickWand.h Error resolution, Imagick today installed on the new server PHP Imagick, the environment is as follows: PHP 5.4.13 Imagemagick-6.8.3-10 ...

  • Related Article

    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.