EasyApache 4 missing (incorrect server profile)
If EasyApache 4 is missing from WHM along with other features like the cPanel File Manager, the most likely cause is an incorrect Server Profile setting.
You may also see errors in the cPanel/WHM error log at /usr/local/cpanel/logs/error_log such as:
[2023-11-08 13:30:29 +0000] info [xml-api] This functionality is not available because the WebServer role is disabled on this server. [ea4_list_profiles] version [1].Solution
Section titled “Solution”The Server Profile in WHM may be set to DNS, Mail, or Database instead of Standard:

Change the profile to Standard. WHM will show you the changes that will be applied before you confirm:

After applying the Standard profile, EasyApache 4 and other missing features will be restored.