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 ...