Skip to main content

Installing Imagick Failing on Alma Linux



  • rbairwell


    There's multiple versions of PHP installed - usually one for the use of WHM/cPanel itself (for things like WP-Toolkit and Roundcube) and then the EasyApache installations for use by clients website.

    As users could use multiple PHP versions, /usr/bin/php and /usr/local/bin/php are NOT "real PHP binaries" - but rather cPanel provided ones which map to the specific users PHP installation (see ).

    The cPanel version of PHP is at /usr/local/cpanel/3rdparty/bin/php (currently 8.1.27) which the relevant user ones are in /opt/cpanel/ea-php83/root/usr/bin/php , /opt/cpanel/ea-php82/root/usr/bin/php etc etc.

    Background - PECL warning

    The "WARNING: channel "" has updated its protocols,..." message is just a warning and will not stop or fail the installation of PHP modules on its own - however, it is advisable to run:

     /opt/cpanel/ea-php82/root/usr/bin/pecl channel-update

    (for EasyApache PHP 8.2)  whenever you can just to ensure things are up to date.

    Checking installation

    To confirm installation of ImagieMagick on PHP 8.2 as root, you should be using:

    /opt/cpanel/ea-php82/root/usr/bin/php -i | grep -i 'ImageMagick version'

    which on my server returns "Imagick compiled with ImageMagick version => ImageMagick 6.9.12-93 Q16 x86_64 17898" and I followed the steps in for my AlmaLinux 8.9 server.

    Have you, once you installed the ImageMagick packages, gone through WHM->Software->Module Installers->PHP Perl and for each version then installed "imagick". Once done, did you then try restarting PHP FPM (if used)?

    ( btw cPRex , the package /var/cpanel/ea4/ references which 404s - could you arrange to update the "go" link to ?)

  • cPRex Jurassic Moderator

    I'll let the team know about the go link!

  • Catalin

    Any news related to this problem?

  • cPRex Jurassic Moderator

    Catalin - what problem are you seeing at this time?


Please sign in to leave a comment.