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

Related Articles

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

Do you troubleshoot scripts and apps?

Hello,Sorry, but troubleshooting sripts and apps needs to be done by the scipt maker or a...

How to use PHP-CLI

You would call '/usr/local/bin/php' if you need the php-cli binary, and '/usr/bin/php' if you...