How to convert cPanel from Easy Apache 3 to Easy Apache 4
If you are using cPanel on CentOS 7, you can run the following command, which will convert your server to EasyApache4. This process can take 5 - 10 minutes, but shouldn't result in any vps downtime.
How to convert cPanel from Easy Apache 4 to Easy Apache 3
If you need to revert the change and go back to Easy Apache 3, you can run this command.
/scripts/migrate_ea3_to_ea4 --revert --run
Apache Configuration File Locations
You can find Apache's configuration files under the "/etc/" directory. Files like httpd.conf, php.conf, and cPanel user includes files can be found here.
Apache Log File Locations
Apache's error log can be found under the "/etc/apache2/" directory. In fact, with EasyApache4, just about anything Apache related can be found under the /etc/ directory.
Looking for a specific domain's log files? The location below contains each cPanel user's log files.
How to switch Apache MPM's with EasyApache 4
To remove the switch from Apache Prefork to Apache Event, run the commands below. This assumes you are using Easy Apache 4
yum remove ea-apache24-mod_mpm_prefork yum install ea-apache24-mod_mpm_event
To remove the switch from Apache Worker to Apache Event, run the commands below. This assumes you are using Easy Apache 4
yum remove ea-apache24-mod_mpm_worker yum install ea-apache24-mod_mpm_event