How to use EasyApache 3 on Linux VPS with WHM / Cpanel

EasyApache is a very useful software provided by WHM that can be used to install, modify, update and test Apache web server, PHP, Tomcat and other web server components installed and running on your Linux VPS with WHM / Cpanel. In this tutorial, we will show you how to use EasyApache 3 to change the Apache web server or PHP version and install the PHP and Apache modules.

First of all open your web browser and navigate to the address https: // YourIP: 2087 and login to WHM as root using your root password.

Once you are logged in, open the section software from the WHM home interface. Using the section software you can manage the software installed on the server, including the Apache web server and PHP.

There are currently two versions of EasyApache, EasyApache 3 and EasyApache 4 which is currently in beta. In this tutorial we will use EasyApache 3… Click on its icon to launch the program.

EasyApache 3

Leave the default profile and click the icon Profile setting (gear icon) to start configuring the web server configuration.

Configuring an EasyApache 3 Profile

On the next screen, you can check the version of Apache that is currently installed on your server and select the version of Apache you want to build. In our case, we are using the latest version from the Apache project.

Apache

Continue to the next step to start setting up your PHP configuration. Select the required PHP version and proceed to the next step. It is recommended to use the latest PHP 5.6.19 offered by EasyApache 3. But first, you should check that all your PHP applications are compatible with this PHP version.

PHP configuration in EasyApache 3

In the next step, there are two stages of EasyApache interface Short options list and Exhaustive Options List… These steps allow you to enable the modules you want to use. PHP provides many built-in modules that allow you to extend the functionality of your PHP applications or web server. For a list of all available PHP modules, click the button Exhaustive Options List and select the PHP modules you want to build in the new configuration. After you have selected all the required modules, save the new configuration and build it.

select PHP modules

The reassembly process will begin in a few seconds and the result will be shown on the status screen. You can also check the output via the command line. The rebuild process can take up to 30 minutes, so be patient and do not close your web browser during the rebuild process.

Rebild EasyApache 3

After the rebuild process is complete and the Apache web server and PHP are compiled with the new modules, a new window will appear PHP and suEXEC setup… If you don’t want to change anything, keep the default PHP, PHP 5 or Apache Suexec handler, you can simply leave the current configuration by clicking the Close button.

PHP and suEXEC setup

With this step, the rebuilding of Apache and PHP is completed. You can check with the phpinfo page in the document root of your domain name, with the following content:

vi info.php
<? phpinfo(); ?>

After the info.php file has been created, you can access it at http://yourdomain.ru/info.php

Sidebar