Skip to main content

imagick PHP Extension not found in EasyApache

Comments

7 comments

  • Sajawal
    Following the updated version of How to install imagick on cPanel WHM (
    0
  • quietFinn
    Following the updated version of How to install imagick on cPanel WHM (
    0
  • Spidey Catalin
    Are you using Cloudlinux or Litespeed on your server too?

    No, I'm using the default Apache
    0
  • Spidey Catalin
    It is enabled and working, but it is not in EasyApache because it can't be installed in EasyApache. Use phpinfo to check that it's enabled and working.

    I already tried this but it's not there. Nothing found using the word 'imagick'. Also tried the test mentioned in that tutorial article, but nothing returns: lynx --dump https://mysite.com/phpinfo.php | grep -i "imagick module"
    I tried to manually install it using CLI as root: yum install ImageMagick ImageMagick-devel -y Loaded plugins: fastestmirror, universal-hooks Loading mirror speeds from cached hostfile * EA4: 93.115.203.100 * cpanel-addons-production-feed: 93.115.203.100 * cpanel-plugins: 93.115.203.100 * base: de.mirrors.clouvider.net * epel: ftp.plusline.net * extras: mirror.checkdomain.de * updates: mirror.ratiokontakt.de Package ImageMagick-6.9.10.68-6.el7_9.x86_64 already installed and latest version Package ImageMagick-devel-6.9.10.68-6.el7_9.x86_64 already installed and latest version Nothing to do
    0
  • Spidey Catalin
    Problem fixed Looks like the problem was PHP-FPM that needed to be restarted. I thought that restarting the OS will include this, but it didn't. If anyone encounters the same issue, restart the PHP-FPM service on WHM, then the phpinfo() updates accordingly. Thanks for your reply @quietFinn and @Sajawal :)
    0
  • quietFinn
    In your 1st post the 2nd picture shows that you have installed imagick for PHP 7.4. When you tested it with phpinfo was that site where you tested it using PHP 7.4? Seems you fixed it while I was writing this...
    0
  • Sajawal
    Problem fixed Looks like the problem was PHP-FPM that needed to be restarted. I thought that restarting the OS will include this, but it didn't. If anyone encounters the same issue, restart the PHP-FPM service on WHM, then the phpinfo() updates accordingly. Thanks for your reply @quietFinn and @Sajawal :)

    Good to hear that issue has been resolved, I also faced this issue today and in my case, it was cagefs that causes the issue.
    0

Please sign in to leave a comment.