I'm trying to install Imagick as its required for an extension I want to use for my project.
I've tried to install it on my ArchLinux like:
pacman -S imagemagick
pecl install imagick
The pecl install ends up throwing me the following error:
checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/bin/MagickWand-config... Doesn't exist
checking Testing /usr/bin/MagickWand-config... It exists
found in /usr/bin/MagickWand-config
checking if ImageMagick version is at least 6.2.4... found version 7.0.7 Q16 HDRI
checking for MagickWand.h or magick-wand.h header... configure: error: Unable to find MagickWand.h or magick-wand.h header
ERROR: `/tmp/pear/temp/imagick/configure --with-php-config=/usr/bin/php-config --with-imagick' failed
Any help as to how to get Imagick installed on my ArchLinux would be great.
Thanks in advance!