How To Install OR Uninstall EasyApache 4 on cPanel Server

[Total: 7    Average: 5/5]

This article will explain you How To Install OR Uninstall EasyApache 4 on cPanel Server
Here are the some requirements for this.

  1. You can use this script on CentOS 6 or 7, CloudLinux™ 6 or 7,Red Hat® Enterprise Linux® 6 or 7
  2. cPanel & WHM version 56 or later
  3. EasyApache 4 does not support Amazon Linux.
  4. Apache version 2.4 required
  5. EasyApache 4 supports PHP versions 5.4, 5.5, 5.6, 7.0, and 7.1.

How to install EasyApache 4

1) Run the following command:

/scripts/migrate_ea3_to_ea4 --run

You can use following arguments with the /scripts/migrate_ea3_to_ea4 scripts.

--run : Run the script.

--help : Display the help information.

--revert : Revert the system to the previous version and configuration.

--skip_convert : Do not convert and install the EasyApache 3 profile. This flag installs the EasyApache 4 cPanel Default Profile unless you use the --install_profile flag.

--install_profile : Do not convert the EasyApache 3 profile. Instead, install the specified profile.

 /scripts/migrate_ea3_to_ea4 --run --install_profile /path/to/profile

--convert_fail : When you convert an EasyApache 3 profile to an EasyApache 4 profile, this flag prevents execution of the script's error-correction code.

--yes: Answer yes to all of the script's yes-or-no questions.

--force : When you add the --force argument to the --run or --revert arguments, the system ignores the protection checks.

--reinstall : Yum attempts to install the required EasyApache 4 RPMs and attempts to reinstall any currently-installed EasyApache 4 packages.

How to uninstall EasyApache 4

To uninstall EasyApache 4 OR To revert to EasyApache 3 from EasyApache 4, run the following command:

/scripts/migrate_ea3_to_ea4 --revert --run

===========================================================================================
That’s it! Please let us know if you have any questions.

If you like this post then please like our FB page: Facebook

Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.