How to recompile Apache/PHP in WHM

Log into WHM and navigate to EasyApache (Apache Update)

On the main page make sure ‘Begin by selecting a profile to load:’ is selected and then click ‘Start customizing based on profile‘.

On the second page (Apache Version), we recommend upgrading to the latest available if not already selected. Then click ‘Next Step‘.

On the third page (PHP Major Version) select the version of php you want (This are the PHP version available to install, no other version or release will be supported if not in the list). We suggest the latest version to avoid security issues, click ‘Next step‘ if you are unsure.

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

On the fifth page (Short options list) select carefully which modules you want to add to PHP. Usually this is defined by the php script you are installing.

Click bottom of the page select ‘Save and Build‘.
  • 526 Users Found This Useful
Was this answer helpful?

Related Articles

VPS Server Management from Clients Panel

For Customers to access their New VPS service, they need to do the following:Click on Services...

WHM/cPanel Log files

cPanel logs most activity tdat happens on a server to log files so you can go back and review log...

How to redirect your website from HTTP to HTTPS ?

We are going to explain two ways to enable HTTP to HTTPS redirect:Using .htaccess file:Create or...

How To Fix "headers already sent" PHP Errors

Sometimes you my see an issue loading your site ( sometimes a 500 error ) and when you look into...

How To Fix "headers already sent" PHP Errors

Sometimes you my see an issue loading your site ( sometimes a 500 error ) and when you look into...