ImageMagick is an application for working with images while the Imagick is a PHP extension to modify/create images using the ImageMagick API.
Installing ImageMagick and Imagick on your cPanel server can enhance your image-handling capabilities. If you are not a tech expert and want to increase the functionality of your website, our in-depth tutorial will guide you through the process.
Here’s the steps to installing ImageMagick and Imagick on the cPanel server using SSH and WHM.
Install ImageMagick using SSH (shell)
- Before proceeding with the installation process, it is important to make sure that ImageMagic is already installed or not. Run this simple command to check if ImageMagick is already installed:
/scripts/checkimagemagick - You can now proceed with the installation of ImageMagick by typing the following command
/scripts/installimagemagick - After the installation is complete, use this command to check your ImageMagick version:
/usr/bin/convert –version
Installing Imagick via WHM:
- Go to WHM -> Software -> Module Installers -> PHP Pecl (Manage).
- Type in imagick in “Install a PHP Pecl” and click Install.
After this installation, you are all set! You can verify the installation by creating a phpinfo.php file to ensure that both ImageMagick and Imagick are recognised by your PHP environment. Now you can enhance the appearance and functionality of your website with ImageMagick and Imagick.
Enhance your server’s image handling capabilities! Learn how to install the ImageMagick PHP extension via SSH.