- Enable FileInfo in PHP to resolve HTTP Error.
How to Install a PHP Extension Using EasyApache 4
- Log into WHM as root
- Type ‘easy‘ into the search field of WHM
- Click on EasyApache 4
- Click on the Customize button in the Currently Installed Packages section
- Then click on the PHP Extensions option from the left
- In the Search field, type ‘fileinfo‘ to get the extension
- Now toggle to enable or install the extension
- Click on the Review option from the left
- Then, click the Provision button
- Finally Done to complete the task