In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces "the solution to the Cannot locate header file MagickWand.h error when installing imagick in PHP". In the daily operation, it is believed that many people have doubts about the solution to the Cannot locate header file MagickWand.h error when installing imagick in PHP. The editor consulted all kinds of materials and sorted out the simple and useful operation method. I hope it will be helpful to answer the question of "the solution to the Cannot locate header file MagickWand.h error when PHP installs imagick"! Next, please follow the editor to study!
Install php imagick on new service today
The environment is as follows:
Php 5.4.13
ImageMagick-6.8.3-10
Imagick-3.0.1
But there was a mistake. That is to say, you can't find MagickWand.h:
Checking for MagickWand.h header file... Configure: error: Cannot locate header file MagickWand.h
But I obviously installed ImageMagick correctly. Google for a long time, but also can not solve this problem. Later, comparing with the ImageMagick on another server, we found that the directory structure of the original ImageMagick 6.8 had changed, and the header files of the old version were placed in the / usr/local/include/ImageMagick directory.
While ImageMagick 6.8 is placed on / usr/local/include/ImageMagick-6
Add soft connection
The command is as follows:
The copy code is as follows:
Ln-s / usr/local/include/ImageMagick-6 / usr/local/include/ImageMagick
Make & & make & & install
Compiled and passed!
At this point, the study on "the solution to the Cannot locate header file MagickWand.h error occurred when PHP installs imagick" is over. I hope to be able to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.