Thursday, August 25, 2011

Installing ImageMagick on CPanel Server

ImageMagick is dealing with image processing (on the web) that used by imagick PHP extension.

MODx, one of PHP popular Content Management Framework is using ImageMagick for its gallery module.
My CPanel Server does not have ImageMagick, so I have to install it.

My server uses WHM version 11.30.2 and I plan to install ImageMagick from WHM dash board.
In WHM, I go to "Software" and then go to "Install a RPM". From RPM list, I install ImageMagick and ImageMagick Devel respectively. This step basically will install ImageMagick application.

Then the second step, I install Imagick PHP extension. I go to "Software" and then go to "Modules Installer". After that I choose PHP-pecl menu by clicking the "manage" button. Input "imagick" into "Install a PHP Pecl" form then hit the "Install Now" button.

And the final step is to restart httpd (apache) web server services.
And thats all.