This article will show you how to Install Imagick on Plesk. Skynats will handle all requests relating to Plesk as part of the Server Management service.
Install Imagick on Plesk
Free software called ImageMagick is available as a binary distribution that is ready to use or as source code that you can copy, alter, and distribute in open-source and proprietary applications. The straightforward steps below can be used to install ImageMagick on Plesk.
Bitmap images are frequently created, edited, and converted using ImageMagick. Additionally, this supports several image formats.
Follow the commands listed below to complete the installation of ImageMagick on Plesk.
yum install ImageMagick ImageMagick-devel
yum install php-pear [for PECL]
pecl install imagick
Moreover, use the command below to confirm the installation
[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):
If you experience the configure error:
"configure: error: no acceptable C compiler found in $PATH See `config.log’ for more details.”
So you don’t have a compiler installed, then. No need to worry about it; installing GCC will easily fix it:
yum install gcc
After the pecl install the Imagick command, you should see something similar to this, which indicates that the build and extension installation was successful. The construction process is now finished.
Install PHP Imagick on Plesk
Install PHP Imagick in this section by entering the command shown below.
yum install gcc make automake php-pear php-devel
pecl install imagick
The Apache service should then be restarted after adding extension = “imagick.so” in your php.ini file.
The following command will help you locate the PHP configuration file that has been loaded.
Using the command, confirm the installation:
php -m | grep imagick
All done! The PHP command phpinfo() will work best for the last check:
Make the following entries in a php file on your website:
<? phpinfo(); ?>
After that, use your web browser to call this PHP file to check the functionality of Imagick.
Imagick can be successfully installed on the Plesk server by following the straightforward instructions in the Install Imagick on the Plesk article.
Are you looking for an answer to another query? Contact our technical support team.