FAQ

Navigation:  Installation > cPanel EasyApache 4 >

FAQ

Previous pageReturn to chapter overviewNext page

When do we need to call

 

cd ~; wget https://repo.cloudlinux.com/cloudlinux/sources/cloudlinux_ea3_to_ea4;

sh cloudlinux_ea3_to_ea4 --convert   

 

script?

 

1. Migration from EasyApache 3 to EasyApache 4.

 

The main difference between EasyApache 3 and EasyApache 4 for CloudLinux is the repositories used for Apache RPM packages. For this reason, we need to use packages from the cl-ea4 repository or cl-ea4-testing beta for EasyApache 4. Running this script we update all native ea-* packages from CloudLinux repository. In this case, non-native packages for Apache include mod_lsapi and alt-mod-passenger (CloudLinux feature). So, if mod_lsapi or alt-mod-passenger (or both) were installed on EasyApache3, the script should be run with additional options as it described on the link https://docs.cloudlinux.com/cpanel_easyapache_4.html.

 

Also, our script starts cPanel EasyApache 3 migration to EasyApache 4 Process. Read more about Profile changes, Apache changes, PHP changes on the link https://documentation.cpanel.net/display/EA4/The+EasyApache+3+to+EasyApache+4+Migration+Process

 

2. Migration from EasyApache 4 cPanel to EasyApache 4 CloudLinux.

 

When cPanel is installed with EasyApache 4 on a clean CloudLinux (or it was CentOS converted to CloudLinux), the installation of the ea-* packages comes from the EA4 cPanel repository. Most packages from the EA4 cPanel repository are not compatible with CloudLinux packages and this can lead to various errors. For this reason, we need to run this script to update the ea-* packages from the CloudLinux repository.

 

(Question for cPanel: Are they promised to run our script when installing EA4 on CloudLinux? Answer: If necessary, we can also install mod_lsapi, alt-mod-passenger, alt-php with this script (additional options).

 

If there was a need to return back EasyApache 4 packages from the EA4 cPanel repository, we need to run:

 

cd ~; wget https://repo.cloudlinux.com/cloudlinux/sources/cloudlinux_ea3_to_ea4;

sh cloudlinux_ea3_to_ea4 --restore-cpanel-ea4-repo

 

When do we need to call

 

cd ~; wget https://repo.cloudlinux.com/cloudlinux/sources/cloudlinux_ea3_to_ea4;

sh cloudlinux_ea3_to_ea4 --revert   

 

script?

 

1. Reverting back to EasyApache 3.

 

Revert back is possible only if EasyApache 3 was previously installed, and then converted to EasyApache 4. If cPanel was originally installed with EasyApache 4, there is no way to convert to EasyApache 3.