Install php imagick on the new server today,
The environment is as follows:
php 5.4.13
ImageMagick-6.8.3-10
imagick-3.0.1
But something went wrong. It just said that MagickWand.h could not be found:
checking for MagickWand.h header file... configure: error: Cannot locate header file MagickWand.h
But I clearly installed ImageMagick correctly. I tried GOOGLE for a long time, but could not solve this problem. Later, I checked ImageMagick on another server and found that the directory structure of ImageMagick 6.8 has changed, and the header files of the old version have changed. It is placed in the /usr/local/include/ImageMagick directory,
And ImageMagick 6.8 is placed in /usr/local/include/ImageMagick-6
Add soft link
The command is as follows:
Compilation passed!
Graphics and images require gd library support,