Skip to end of metadata
Go to start of metadata

Category: Control panels, cPanel, OS related issues, Web servers 

Here is a step-by-step instruction on how to install ImageMagic.

To install it run the following commands:


# mkdir /home/src
# cd /home/src
# wget
# tar -xzvf ImageMagick-6.7.9-0.tar.gz
# cd ImageMagick-6.7.9-0
# ./configure
# make
# make install
# cd PerlMagick
# perl Makefile.PL
# make
# make install


That should be it, if by any chance you have a problem with a 64 bit OS and WHM can not find imagick then install it manually, use hints below.

First, install ImageMagick-devel


# yum -y install ImageMagick-devel


Assuming ImageMagick-devel is installed, you need to download the Imagick PHP extensions, located here:

Latest version, as of this post, is imagick-2.2.0


# wget



# tar -zxvf imagick-2.2.0 .tgz


while in the home directory (don’t type the quotes)

Then type the following commands:


# cd imagick-2.2.0
# phpize
# ./configure
# make
# make install


Now go back into WHM and try to activate imagick again



Check first if it’s installed:


# /scripts/checkimagemagick


Proceed with Installation:


# /scripts/installimagemagick


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


The following entry will appear:


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



Go to WHM, then Software, choose Module Installers and select PHP Pecl (manage). On the box below “Install a PHP Pecl” enter “imagick” and click “Install Now” button – that’s all. Check your phpinfo page to see the details of Imagick and ImageMagick as well.


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



# /scripts/cleanimagemagick


Imagick: choose WHM, go to Software , then Module Installers, and pick PHP Pecl (manage). Click on Uninstall button for Imagick.