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


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
  • 25 Users Found This Useful
Was this answer helpful?

Related Articles

Where is the servers located?

The main servers are located in Los Angeles. We also have backup servers in Las Vegas and round...

How is your web hosting so fast?

To be honest it's not one big thing although there is a couple more expensive things we do to be...

How to flush your DNS cache

Your home computer creates a cache for all DNS settings. It does this to save time each time you...

What is the root login for my new VPS server?

The root login is the same password our system sent you in your welcome email. You just change...

What is the path to PERL?

The path to PERL in PERL script is:#!/usr/local/bin/perl