Install ImageMagick On Whm/Cpanel Server

0
42

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 :

Code:
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
Code:
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.

Code:
cd ImageMagick-6.7.3-9
./configure
make

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

Code:
make install

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

Code:
/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”.

Code:
make check

LEAVE A REPLY

Please enter your comment!
Please enter your name here