Installing ImageMagick For cPanel

Log into your Linux server.

First verify that imagemagick is not already installed by typing;

"/scripts/checkimagemagick"

imagick_check

If it isn't already installed you can proceed. Otherwise you can stop unless you want to remove the current version. To remove the existing installation, run the following command to search for it;

"rpm -qa |grep -i magick"

imagick_rpmcheck

If any results come up you will need to remove them with the "rpm -e" command;

"rpm -e file_results"

imagick_installed

 

 

If you did not find Imagemagick already installed or if you removed the existing version, proceed to install it by typing;

"/scripts/installimagemagick"

This will start the installation process and will take several minutes to complete. Once it completes you can test the install;

"/usr/bin/convert --version"

imagick_check

It will display something similar to the following.

After doing this you will need to log into the WHM to install the PHP Pecl so that Imagemagick works with cPanel correctly.

Once logged into WHM, proceed to Software -> Module Installers -> PHP Pecl.

Click on Manage to proceed.

In the module installer you will see a field that says "Install a PHP Pecl" and enter in imagick and then click install.

WHM will complete the installation and ImageMagick will be installed for use in cPanel.

imagick2