EasyApache is a utility built into cPanel/WHM to help recompile your PHP/Apache configuration. It is most often used to compile in new extensions/modules, upgrade versions, or modify your server configuration files. While EasyApache can be accessed through CLI (/scripts/easyapache/) for purposes of this tutorial we'll be using the web based GUI.

  1. To start, login to WHM for your VPS at http://yourvpsip/WHM (If your VPS IP was 1.1.1.1, then you'd go to http://1.1.1.1/whm)
  2. Once you've logged in, type 'EasyApache' into the top left finder. 
  3. On the initial page, you will leave the option to use the previously saved config (default) and select 'Start Customizing Based on Profile'.
  4. On the 'Apache Version' page, select the latest version (should always be the default one selected) and hit 'Next Step'. 
  5. On the 'PHP Version' page, select the latest stable version (should always be the default one selected) and hit 'Next Step'.
  6. On the following page, you will be presented a list of PHP options. If your software requires any, select the radio box next to them. Once you've selected all the modules you need, scroll down and select the 'Exhaustive Options List'.
  7. On the 'Exhaustive Options' page, select the modules your software requires you to compile in. Once you've selected all you need, scroll to the bottom of the page and select 'Save and Build'. You will be prompted by two dialogue boxes, select 'Yes' and 'I understand' respectively. EasyApache will now begin rebuilding your configuration.
  8. When the rebuild is in progress, *do not* terminate the build process. Doing so could cause unrecoverable damage to your Apache/PHP configurations and require you to restore from backups. The process is meant to run in the background until it completes.
  9. If during the build process you see the following warning, do not be concerned unless the rebuild fails:!!Warning (VZ): You are only guarantee X Megabytes of ram when the system is out of ram! 512 Megabytes is recommended. !!. In the event your build fails, please contact our VPS support team
  10. The build can take up to one hour to complete, so be patient. When completed, you will be greeted with a dialogue to 'Configure Suexec and PHP'. The default settings are recommended, unless your software requires a specific setting. Scroll to the bottom of this dialogue and select 'Save New Configuration'. 

Your build is now complete and your new Apache/PHP configurations are active. If you receive any errors or your VPS experiences issues after a rebuild, please contact our VPS support team.

Was this answer helpful? 5 Users Found This Useful (6 Votes)