Linux Sysadmin Blog

Install ImageMagick and Imagick on Cpanel Server

- | Comments

Here’s a quick how-to for installing ImageMagick and Imagick on Cpanel server. I will cover only the procedure using the Cpanel built-in scripts, although you can also install it the usual way (rpm or source install). ImageMagick is the application for working with images while the Imagick is a PHP extention to modify/create images using the ImageMagick API.



Check first if it’s installed:


Proceed with Installation:


Installation will take a couple minutes as it will install other packages needed by ImageMagick. After the installation, you can check your ImageMagick version:

/usr/bin/convert --version

It will give you something like:

Version: ImageMagick 6.4.8 2009-05-11 Q16 OpenMP Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC


Go to WHM -> Software -> Module Installers -> PHP Pecl (manage). On the box below Install a PHP Pecl enter imagick and click Install Now button - that’s all.

Restart Apache and check your phpinfo page to see the details of Imagick and ImageMagick as well. See linked images for reference: image1, image2.


If you decide to uninstall it’s as easy as the installation process:



Imagick: WHM -> Software -> Module Installers -> PHP Pecl (manage). Click on Uninstall button for Imagick.