How to install a PHP extension in WHM
WHM provides a user-friendly way to manage PHP extensions for your server. You can easily add the required PHP extensions using theย EasyApache 4ย interface. Hereโs a step-by-step guide: Prerequisites Step by Step On How to install a PHP extension in WHM That will be all! Cheers!
WHM provides a user-friendly way to manage PHP extensions for your server. You can easily add the required PHP extensions using the EasyApache 4 interface. Hereโs a step-by-step guide:
Prerequisites
- Have root access to the serverโs WHM.
Step by Step On How to install a PHP extension in WHM
- Log in to WHM either with the root account. Normally you will use one of the URLs below;
http://your_server_ip:2087
https://your_server_hostname:2087

- Navigate to โHome ยป Software ยป EasyApache 4โ

- Click the โCustomizeโ button under โCurrently Installed Packages.โ

- Click โPHP Extensions.โ

- Use the search bar to search for the extension you need to install. Example: sodium

- Mark the extension for installation by clicking the switch icon to the far right of the extension.
This needs to be done for each version of PHP for which you need the PHP Extension.

- Click โReviewโ and review the output to ensure the PHP extension you marked for installation will be installed.

- Click the โProvisionโ button to install the selected PHP extensions.

- Give it time to provision

- The selected extensions will install and a success message will be displayed

- Click on Done to complete and close the window

That will be all! Cheers!
Still need help?Open a support ticket