Recompile Apache/PHP in WHM
How to recompile Apache/PHP in WHM.
Below are the steps in your cPanel server to recompile apache / php. If you understand correctly, you can use it.
Firstly, log into WHM and navigate to EasyApache4 (Apache Update)
And make sure on the main page ‘ Start by selecting a load profile: ‘ is selected and then click ‘ Start profile-based customisation. ‘
Then, on the second page (Apache MPM/Modules), we suggest upgrading to the latest available if no longer already selected. Then click on ‘Next Step‘.
On the third page (PHP Versions) pick the version of php you want, click on ‘Next step‘ if you are unsure.
On the forth page (PHP Extensions) choose the version of php you want, click on ‘Next step’ if you are unsure.
On the fifth page (Ruby modules) skip this if not relevent to your server by click on ‘Next step’.
Please check the changes that you are about to install, upgrade and uninstall.
Select ‘ Provision ‘ to re-compile from the bottom of the page.