000

Well-Known Member
Jun 3, 2008
549
30
78
we run:
Code:
[root@pepsi ~]# convert -version
Version: ImageMagick 6.9.10-68 Q16 x86_64 2021-10-14 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP(3.1)
Delegates (built-in): bzlib cairo fontconfig freetype gslib jng jp2 jpeg lcms ltdl lzma openexr pangocairo png ps rsvg tiff wmf x xml zlib
[root@pepsi ~]#
and just 2 months back:

then we get:
Code:
[root@pepsi ~]# find /opt/cpanel/ -iname pecl | grep bin
/opt/cpanel/ea-php74/root/usr/bin/pecl
/opt/cpanel/ea-php81/root/usr/bin/pecl
/opt/cpanel/ea-php54/root/usr/bin/pecl
[root@pepsi ~]#
but when we run
Code:
/opt/cpanel/ea-php81/root/usr/bin/pecl install imagick
the result is:
Code:
checking for pkg-config... /usr/bin/pkg-config
checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/bin/MagickWand-config... Doesn't exist
checking Testing /usr/bin/MagickWand-config... Doesn't exist
checking Testing /usr/sbin/bin/MagickWand-config... Doesn't exist
checking Testing /opt/bin/MagickWand-config... Doesn't exist
checking Testing /opt/local/bin/MagickWand-config... Doesn't exist
checking Testing /opt/homebrew/bin/MagickWand-config... Doesn't exist
configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
ERROR: `/root/tmp/pear/imagick/configure --with-php-config=/opt/cpanel/ea-php81/root/usr/bin/php-config --with-imagick' failed
how we can fix?

thanks
 

000

Well-Known Member
Jun 3, 2008
549
30
78
Hey there! That output seems normal to me, as Imagick expects MagickWand to be installed first. Can you ensure that this command was run before the pecl command?

Code:
yum install ImageMagick ImageMagick-devel -y
oh...
master @cPRex, now ALL is fine.

MANY thanks by your help :)
 
  • Like
Reactions: Spirogg

azednetma

Well-Known Member
Oct 27, 2015
68
4
58
Marrakech
cPanel Access Level
Root Administrator
Hello,

How to install imagick for php 8.1 ?

/opt/cpanel/ea-php81/root/usr/bin/pecl install imagick
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading imagick-3.7.0.tgz ...
Starting to download imagick-3.7.0.tgz (360,138 bytes)
.........................................................................done: 360,138 bytes
33 source files, building
running: phpize