ImageMagick is a versatile software suite for creating, editing, composing, or converting raster images and vector graphics. It’s open-source and supports a wide range of formats. With command-line tools or through its libraries, ImageMagick enables users to manipulate images, such as resizing, cropping, rotating, applying filters, and more. It’s widely used in web development, graphic design, and scientific research due to its flexibility and powerful capabilities.
Imagick is a PHP extension that serves as a wrapper around the ImageMagick library, providing PHP developers with a powerful set of functions to manipulate images. It enables the creation, modification, and processing of images directly within PHP scripts, offering capabilities like resizing, cropping, applying filters, and more. Imagick seamlessly integrates with PHP environments, making it a popular choice for web developers working on projects that require dynamic image manipulation and processing.
Before starting the installation process, check if ImageMagick is already installed or not. Run this command to check.
/scripts/checkimagemagick
You can start the installation process by logging in to your SSH as the root user and running the following command to install ImageMagick on your cPanel & WHM server with a compatible operating system.
Install ImageMagick on CentOS 7 / CloudLinux 7 OS:
yum install ImageMagick ImageMagick-devel -y
Install ImageMagick on AlmaLinux 8 / CloudLinux 8 OS:
dnf config-manager –set-enabled epel
dnf install ImageMagick ImageMagick-devel -y
Install ImageMagick on the Ubuntu OS:
apt install imagemagick magickwand
Note: After the installation is complete, use this command to check your ImageMagick version:
/usr/bin/convert –version
Step 1 :
Log in to WHM as the root user.
Step 2 :
Navigate to “Home / Software / Module Installers”
Step 3 :
Click on the “Manage link” to the right of “PHP Pecl.”
Step 4 :
Select your desired version of PHP from the drop-down menu, and click “Apply.”
Under “Install a PHP Pecl,” enter “imagick” (without the quotes).
Click “Install Now.”
Do you knowHow to install WordPress in cPanel using Softaculous. This is one of the best and easiest ways to…
To install the CloudLinux Operating System in WHM, follow these steps. Step 1: Login to your SSH as the root…
Follow these steps to uninstall Imunify360 from the WHM root server. Step 1. Log in to SSH as a root…