Install ImageMagick on Plesk
You can install ImageMagick on Plesk using the following simple steps. ImageMagick is mainly used to create, edit and convert bitmap images. It supports a variety of image formats.
yum install ImageMagick ImageMagick-devel
Verify the installation using the following command:
convert -version
Sample Output:
[root@plesk ~]# convert -version Version: ImageMagick 7.0.4-7 Q16 x86_64 2017-02-13 http://www.imagemagick.org Copyright: © 1999-2017 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Features: Cipher DPC HDRI OpenMP Delegates (built-in): [root@plesk ~]#
Install PHP Imagick on Plesk
yum install gcc make automake php-pear php-devel pecl install imagick
Then add extension = “imagick.so” in your php.ini file and restart the Apache service.
You can find the loaded PHP configuration file using the following command.
php --ini
Restart Apache
/etc/init.d/httpd restart
Verify the installation by the command:
php -m | grep imagick
That’s it!
If you like this post and wish to receive more articles from us, please like our FB page: Grepitout
Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.
For more details on our services, please drop us an E-mail at info@grepitout.com
[…] Install ImageMagick on Plesk server Here […]