1. bluehost knowledge base

VPS & Dedicated Hosting: Easy Apache

Overview

This article will explain how to use EasyApache to recompile Apache. This is useful if you want to add custom modules to your version of PHP or Apache.

EasyApache 4

The information below assumes your server is using EasyApache 4. Some older servers may still be running EasyApache 3, which is no longer receiving updates. If you are not able to access the EasyApache 4 section of WHM, please contact support and we will be happy to help upgrade your server to EasyApache 4. 


Steps Involved

Click on any of the steps to jump to that point in the walkthrough and see more details.


Login To The WHM

You will need to be able to login to WHM on your server. This requires knowing the root password for your server. If you don't know the root password or haven't set one up please, see Log in to WHM.
  1. Login to the WHM by going to yourdomain.com/whm in a browser. Replace yourdomain.com with your domain.
  2. Once you get to the login page enter your username and password. 
    • Username will be root.
    • Password will be the root password for your server. If you don't know the root password or haven't set one up please, see Log in to WHM
      User-added image
  3. If this is your first time logging into the WHM, you may see a page titled Feature Showcase. Click on Exit to WHM at the bottom of the page. 
The Feature Showcase page with Exit to WHM spotlighted. 
User-added image
 
 

Access The Easy Apache Tool

Once you are logged into the WHM, you need to go to Easy Apache.

  1. Type Easy into the search box on the left side of the WHM.
    User-added image
  2. Click EasyApache 4 in the search results.
  3. Give it a moment to load your profile. Once loaded, click the Customize button for the Currently Installed Packages block.
The Easy Apache Profile Page. 
User-added image
 

Select Your Options

Once you have accessed Easy Apache and chosen a profile, you can select your build options. Each section provides access to a set of toggle switches, which are used to enable that option. You can skip one or more sections, and go straight to the ‘Review’ step at any point. Most sections have a search bar at the top, to allow you to find the specific option you need.

Note: Changing options outside of the PHP Versions and PHP Extensions sections should only be done by experienced administrators.

 Apache MPM

Apache Multi-Processing Modules (MPM) determine the way in which Apache will listen to the network, accept and handle website requests. For example, the Worker MPM turns Apache into a multi-process, multi-threaded web server, where each process has multiple threads. 
User-added image

Apache Modules

This section allows modules to be added or removed from Apache (the webserver process). 
User-added image

PHP Version

This controls the versions of PHP that are available on your server. Once a version has been installed, it can be applied for a particular domain through WHM, in the Software > MultiPHP Manager section. On selection, you’ll be asked whether to install just the default version or the version plus the extensions the system detects as active on other installed PHP versions. Generally, choosing the latter would be recommended. 
User-added image

PHP Extensions

Additional PHP extensions can be added here. Note that these are for a particular version of PHP: if you have multiple versions of PHP active on your server, you may need to install the extension for each version. You can use the checkboxes at the top to filter for extensions on a specific version or versions of PHP. 
User-added image

Ruby Via Passenger

This can be used to install Ruby on the server. However, please note that support does not offer any detailed help with Ruby applications, beyond this initial installation. 
User-added image

Additional Packages

This can be used to install Tomcat and Node.js. However, please note that support does not offer any detailed help with these applications, beyond the initial installation. 
User-added image

Review and Build

Finally, this will show you the packages which you have selected for installation onto the server, as well as packages which will be removed, and ones which will not be changed. You can still go back and make any changes to these, if necessary. When you are ready to proceed, click the ‘Provision’ button at the bottom of the screen. 
User-added image

The rebuild can take up to 45 minutes depending on the options and the CPU, though for smaller changes, such as adding a PHP module, it can only take a minute or two. Once finished, you'll have the PHP version and other options you selected added to your server.