HOW TO: Recompile Apache/PHP in WHM

Last modified: March 29, 2020
You are here:
Estimated reading time: 1 min

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).

Select EasyApache4


And make sure on the main page ‘ Start by selecting a load profile: ‘ is selected and then click ‘ Start profile-based customisation. ‘

Selecting a load profile


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‘.

ApachePHP-Apache MPM
Apache MPM/Modules page


On the third page (PHP Versions) pick the version of php you want, click on ‘Next step‘ if you are unsure.

ApachePHP-PHP versions
PHP Versions page


On the forth page (PHP Extensions) choose the version of php you want, click on ‘Next step’ if you are unsure.

ApachePHP-PHP Extensions
PHP Extensions page


On the fifth page (Ruby modules) skip this if not relevent to your server by click on ‘Next step’.

ApachePHP-Ruby modules
Ruby Modules


Please check the changes that you are about to install, upgrade and uninstall.

ApachePHP-Check the changes-upgrade-uninstall
Check the changes about to install, upgrade and uninstall.


Select ‘ Provision ‘ to re-compile from the bottom of the page.

Select Provision


Was this article helpful?
Dislike 0
Views: 19
Customer Services Contact

Need Help? Send a Ticket to our 24X7 Technical Support Team

Subscribe Newsletter

Subscribe to Casbay Newsletter for online tips, events and latest promotion !

Copyright © 2010 – 2021 Casbay Sdn. Bhd. (1042688-D). All Rights Reserved.

All Trademarks Are The Property of Their Respective Owner.