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.