Install ImageMagick On Whm/Cpanel Server


ImageMagick® is a popular application used on many web hosting servers(and standard pc’s) to create, edit, compose, or convert bitmap images. Many image plugins for web applications such Joomla, WordPress, Drupal, Magento, Gallery 2, etc can be configured to use this tool as the basis for their image capabilities so it is pretty much a standard requirement if you are providing shared web hosting services.If you are running a cPanel server, you may be aware that cPanel provides a script to easily install ImageMagick, however our experience has shown that this script is not the best method to use to install ImageMagick as it comes with a number of limitations, such as slow update releases and no easy upgrade script. Therefore we have found that a manual installation of ImageMagick is still the best solution, regardless of whether you are running cPanel or not.

At the time of writing this guide, the current version of ImageMagick was 6.6.9-8. Using the instructions below, the latest version of ImageMagick will be installed. If you wish to check the version you will be installing, head over to the ImageMagick FTP site to check the current version number. You can then adjust the details below accordingly if you wish to install an older version. This guide also assumes that you are running the current version of cPanel, which at the time of writing was 11.28.xx.

Install :

tar xvfz ImageMagick.tar.gz

Configure and compile the installation files:
To first check the version number that was installed, just enter ls at the command prompt and you will see the folder with appropriate version number in its name.

cd ImageMagick-6.7.3-9

As long as ImageMagick compiled without any errors, install it onto your system:

make install

For a quick check that ImageMagick is installed and running correctly, enter the following:

/usr/local/bin/convert logo: logo.gif

For a more advanced check on your ImageMagick installation, run the command below which will perform a full test on the installation and should result in a “all tests passed”.

make check

Leave A Reply

Please enter your comment!
Please enter your name here