Frequently Asked Questions

How to install ImageMagick and Imagick

To install Imagick first install ImageMagick like this, you will need SSH and root access on the server:

  1. SSH into your server
  2. Install ImageMagick by typing: yum install pcre-devel ImageMagick ImageMagick-devel 
  3. After the installation check your ImageMagick version by typing: /usr/bin/convert --version

To install Imagick on a cPanel server:

Login to your WHM (Web Host Manager)

Go to WHM -> Software -> Module Installers -> PHP Pecl (manage)

php pecl

In the box below 'Install a PHP Pecl' enter: imagick

imagick

Click the 'Install' button

If it's not working try running these commands from the root of the server:

yum install ImageMagick ImageMagick-devel pcre-devel

Then run this but change the PHP version to match the one you are using. Or run it for each version. When it asks for the path to ImageMagick just click enter which uses the default.

/opt/cpanel/ea-php73/root/usr/bin/pecl install imagick

Once  done make sure to reboot  Apache and  PHP-FPM.

It should work instantly server wide once these are done.

  • imagick, imagemagick, Magick

Was this answer helpful?

49 Users Found This Useful