ImageMagick is an open-source program used to edit and convert different types of the image file. ImageMagick extension is popular in the Linux world because it can be integrated with PHP scripts to edit or convert image files.
Follow the below steps to install the Imagick extension in cPanel.
Step 1: Log in to the WHM panel as the root user.
Step 2: From the Home, section navigates to the Software section.
Step 3: Select Module Installers from the Software section.
Step 4: Click on Manage next to PHP PECL.
Step 5: Select the PHP version from the drop-down list and click Apply.
Step 6: Type "Imagick" (without the quotes) in the search box and click Go.
Step 7: Click Install to proceed with Installing Imagick extension.
After successfully installing the Imagick Module you can verify by navigating to Home >> Software >> Module Installer >> PHP PECL and select the correct PHP version from the drop-down list and click Apply.
Scroll down to see the Installed PHP PECL(s) modules and verify Imagick Module is installed.