VPS & Dedicated Hosting: Easy Apache
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.
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.
Click on any of the steps to jump to that point in the walkthrough and see more details.
Log in to WHM.
- Login to the WHM by going to yourdomain.com/whm in a browser. Replace yourdomain.com with your domain.
- 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.
- 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.
Once you are logged into the WHM, you need to go to Easy Apache.
- Type Easy into the search box on the left side of the WHM.
- Click EasyApache 4 in the search results.
- Give it a moment to load your profile. Once loaded, click the Customize button for the Currently Installed Packages block.
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 MPMApache 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.
Apache ModulesThis section allows modules to be added or removed from Apache (the webserver process).
PHP VersionThis 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.
PHP ExtensionsAdditional 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.
Ruby Via PassengerThis 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.
Additional PackagesThis 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.
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.