How to Check the Version of EasyApache Running

Servers running cPanel come with their custom software, EasyApache, which controls the PHP and Apache configurations. If you need to change PHP settings and you are running EasyApache 3 (EA3 which is now obsolete), you may directly modify the php.ini file to change them. However, if you are running EasyApache 4 (EA4), direct changes to the php.ini file are not recommended. This is due to the fact that EA4 now includes a MultiPHP INI Editor for cPanel and WHM. This plugin allows you to modify the settings for PHP through the cPanel/WHM interface and will not function properly if changes are made to the php.ini file manually. In this guide, you will learn how to check which version of EasyApache your server is running.

  1. SSH into your server with the root user.
  2. Run the following command:

    /usr/local/cpanel/scripts/easyapache –version

    If you are running EA3, you should see the following example output:

    root@server [~]# /usr/local/cpanel/scripts/easyapache --help Easy Apache v3.34.19  [cpanel] 68.0 (build 21)   [apache] Server version: Apache/2.4.25 (Unix) Server built:   Apr 26 2017 11:29:10 Cpanel::Easy::Apache v3.34.12 rev9999   [server] Linux 2.6.32-042stab117.16 #1 SMP Fri Sep 9 21:57:19 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux

    If you are running EA4, you should see the following example output:

    root@server [~]# /usr/local/cpanel/scripts/easyapache --help EasyApache3 is not available when EasyApache4 is in effect.

Now that you are familiar with how to check which version of EasyApache you are running, you can confidently make changes to your PHP configuration accordingly. Remember, if you are running EasyApache 3, you can make modifications directly to your php.ini file. If you are running EasyApache 4, you must make changes to the PHP settings from the cPanel/WHM MultiPHP INI Editor.

John-Paul Briones Content Writer II

John-Paul is an Electronics Engineer that spent most of his career in IT. He has been a Technical Writer for InMotion since 2013.

More Articles by John-Paul

Was this article helpful? Join the conversation!

Web Hosting Cyber Week Sale
Hurry! These Deals Won't Last Long