WHM provides you an easy interface to add and remove php and Apache modules, aptly named “EasyApache.” In order to take advantage of EasyApache to it’s fullest, it is suggested you visit http://twiki.cpanel.net/twiki/bin/view/EasyApache3/WebHome and review the documentation. Since most people will only need a couple of modules installed, well run through the process here.
Start by searching for and clicking EasyApache in the Find box in the upper left corner of your WHM session:
Next up, click "Start customizing based on profile" to begin customizing your options.
Next select the version of Apache youll be using. As of this writing 2.2 is preferred since its recent and supports everything needed.
Next select the version of PHP youll be using. Be sure the version you select matches any PHP applications youll be using on the server.
Select the minor version of PHP youll be using.
Finally, youll have a short list and an option for an exhaustive list of php modules: be sure you only select what you know youll need. Once youve selected your required modules on either the short or exhaustive list, youll see "Save only (Do NOT build)" or "Save and build" buttons at the bottom of the page.
NOTE: If your website/system is under load and you need to compile Apache later (it can take a lot of system resources), select Save Only. If youre ready to build now, select Save and build and allow apache to recompile.
Do not shut the system down or modify any apache configurations at this time! If for any reason Apache does not finish its compilation, please contact the NanoServers technical support department.