Imagick connects PHP applications to the ImageMagick libraries. On a cPanel server, install it for the EasyApache PHP version used by the website, not whichever PHP executable happens to be the SSH default.
Check prerequisites
Confirm the website’s PHP version in WHM > MultiPHP Manager. The server needs compatible ImageMagick development libraries and the matching PHP build tools; package names and availability depend on its operating system.
This example uses ea-php83 only. Replace it with the installed PHP package required by the site. WHM’s Module Installers > PHP PECL interface provides an alternative supported installation route.
Install through SSH
With administrative access and prerequisites installed:
/opt/cpanel/ea-php83/root/usr/bin/pecl install imagickRead the installation result. Use the ImageMagick installation actually intended for the server rather than forcing /usr/local or overwriting PKG_CONFIG_PATH blindly.
Enable and verify
Check whether the installer created the extension’s INI entry. If not, add a single supported entry in that PHP version’s configuration include directory:
extension=imagick.soAvoid duplicate loading entries. Check the PHP configuration and loaded modules, then apply any required PHP-FPM or web-handler restart through cPanel’s supported process during an appropriate maintenance window.
Test the application’s image operation in the website’s PHP environment. A successful command-line module check does not prove every website PHP version has the extension.