Howto: Install ImageMagick on Plesk

How to install ImageMagick on Linux/Plesk server? Follow the below steps to install ImageMagick on a Plesk server. Login to your server as root and execute the following commands:

1. Install “ImageMagick” package via YUM.

yum install ImageMagick

2. Now install “ImageMagick-devel”

yum install ImageMagick-devel

3. Install “php-pear” required for “pecl”. It will install and compile ImageMagick with PHP for you.

yum install php-pear

4. Now, you need to install ImageMagick using pecl

pecl install imagick

A imagick.so file will be created under /usr/lib/php/modules/ directory. Now, edit the php configuration file /etc/php.ini and add the following line after the “extension_dir” directive

extension = “imagick.so”

Save the file and restart the httpd service. That is it. You can verify using the command:

php -i | grep imagick

This entry was posted on Wednesday, October 21st, 2009 and is filed under Plesk Management. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.