Install ImageMagick With PHP-imagick On Plesk Server

How to install ImageMagick With PHP-imagick On Plesk Server.


ImageMagick Installation

[[email protected] ~]# yum install ImageMagick

[[email protected] ~]# yum install ImageMagick-devel

PHP-imagick Installation

[[email protected] ~]# yum install gcc

[[email protected] ~]# yum install make automake

[[email protected] ~]# yum install php-pear

[[email protected] ~]# yum install php-devel

[[email protected] ~]# pecl install imagick

This will create a file under [/usr/lib/php/modules/] for 32 Bit machine or [/usr/lib64/php/modules/] for 64 Bit machine and you can enable it by adding the below entry in php.ini file
extension = “”


echo “” > /etc/php.d/imagick.ini

Finally restart  httpd service for the changes to take effect .

[[email protected] ~]# /etc/init.d/httpd restart


You can verify  the installation of both the modules using the below commands ::

For ImageMagick

[[email protected] ~]# which convert

For PHP-imagick

[[email protected] ~]# php -m | grep imagick


Leave a Reply