To enable PHP extensions:
- Login to WHM.
- Select Software-EasyApache4
- Click on customise
- Select PHP extensions and search for the extension you wish to install
- Select the extensions then click next
- Confirm that the packages you wish to install are ok in review then click next
You will see a message letting you know when the installation is finished.
Note: If you wish to install a different PHP version, follow the instructions above but instead select PHP versions. Please note that using older versions of PHP makes sites more vulnerable to attack.