Install PHP Imagick on your new dress 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's just a dead word. MagickWand.h not found:
Checking for MagickWand.h header file ... configure:error:Cannot locate header file MagickWand.h
But I clearly installed the imagemagick correctly. Google for a half-day, also can not solve the problem. Later on the other server on the ImageMagick found that the original ImageMagick 6.8 after this version of the directory structure has changed, the old version of the header file is placed in the/ The Usr/local/include/imagemagick directory,
and ImageMagick 6.8 is on the/usr/local/include/imagemagick-6.
adding soft connections
The order is as follows:
Copy Code code as follows:
Ln-s/usr/local/include/imagemagick-6/usr/local/include/imagemagick
Make && make && install
Compile through!