EasyApache is software installed in WHM and cPanel which is used to compile and configure both PHP and Apache modules. It installs, modifies and validates the Apache web server, PHP, Tomcat and other components of the web server. EasyApache is a command line activated script that can be accessed either through WHM or SSH to update and reconfigure Apache web server. It also updates and configures the PHP installation automatically. The required modules of PHP and Apache can be added, removed and installed on the server.

Benefits of EasyApache:

EasyApache is a user-friendly tool to be used via WHM panel. It provides the following benefits for the users.

  • The user can select the automatic updates to PHP, Apache and the modules.
  • Due to automatic updates, the possibility for security vulnerabilities can be decreased.
  • Provides a simplified interface to add, remove or install components of the web server.
  • Minimizes the downtime due to its automatic recovery process.
  • Simplified access to configure Apache and PHP via WHM or command-line interfaces.

Methods to run EasyApache:

EasyApache is included along with your cPanel and WHM license. It provides the required features for your hosting environment with the latest updates. It can be accessed either through WHM directly or through the command-line interface.

To run through WHM interface, use WHM’s interface with the below path

Home>> Software >> EasyApache 4

To run through SSH, run the below script as a root user


EasyApache Profiles:

An EasyApache Profile contains a set of options to determine the modules which can be built into the web server. It provides profiles with the most commonly used options. In the initial stage of WHM’s interface, the profile can be modified, built or downloaded. After the modification of profiles, the new selections can be saved to a new profile. The selections can be saved as a new profile (Custom Profile).

How EasyApache Works?

When EasyApache was accessed through the WHM interface, it checks for any updates to its own software and about the software it provides. No changes will be done on your server until any build process is initiated by the user. Once a build process is initiated, it performs the following steps

  1. EasyApache takes a backup copy of the current Apache configuration.
  2. It checks the already selected options and verifies its compatibility. Then attempts to build Apache and PHP with the user selections.
  3. Once the new build passes the validation tests, it will be built on the server.
  4. Once the build is done, EasyApache checks and ensures the functionality of the new build on the server. If it does not function properly, then the configuration will be re-initiated from Step 1.
  5. Finally, it removes temporary files and exits.

We hope that this tutorial will help you to know about EasyApache used in our servers. For more information, follow us on Twitter and Facebook and For video tutorials, subscribe to our YouTube channel ServerCake India.

Tagged in:

, ,