To enable the Imagick PHP extension for PHP 8.2 in WHM, you need to use the Module Installers feature, specifically the PHP PECL installer. After logging into WHM as root, navigate to Software -> Module Installers, select PHP PECL, choose PHP 8.2 from the dropdown, search for “imagick”, and click Install.
Here’s a step-by-step guide:
- Log in to WHM: Access your WebHost Manager (WHM) with root access.
- Navigate to Module Installers: Go to the “Software” section and then click on “Module Installers”.
- Select PHP PECL: Click on the “Manage” button next to “PHP PECL”.
- Choose PHP Version: Select PHP 8.2 from the dropdown menu.
- Search for Imagick: In the search box, type “imagick” and click “Go”.
- Install Imagick: Click on the “Install” button under the “Actions” column.
- Confirmation: The system will start the installation process and display a success message upon completion.