Case: You are trying to install imagick pecl extension. In our case with LiteSpeed's pecl installer:

/usr/local/lsws/lsphp5/bin/pecl install imagick

Problem: You get the error:

checking ImageMagick MagickWand API configuration program... configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
ERROR: `/tmp/pear/temp/imagick/configure --with-imagick=/usr/bin/' failed

Solution: Install ImageMagick-devel (yum install ImageMagick-devel for RedHat based OS)

Don't forget to add:

You should add "" to php.ini

blog comments powered by Disqus