Recompiling PHP within cPanel/WHM is pretty easy. Just follow the steps below, and you will be fine:
- go to your /whm (http://yourdomain.com/whm)
- Scroll down to “Software”
- There you will find “Apache Update”
- Click on “Apache Update”
- At the top of this page, you will see “load previous config”, click on that.
- All you now need to do is select the PHP version, we recommend that you use PHP 4.4.5 its one of the more stable versions.
- Now simply click “Start Build”
- Go grab some coffee, it will take a bit.
- Once completed, that’s it!