If you see the following error in Cpanel, you can solve the problem with the following commands
Syntax error in -C/-c directive: Syntax error on line 2 of /etc/apache2/conf.modules.d/125_mod_cache.conf: Cannot load modules/mod_cache.so into server: /etc/apache2/modules/mod_cache.so: undefined symbol: ap_parse_strict_length Please try again.
Enter the following command in ssh :
# mv /etc/apache2 /etc/apache2bk
# mv /usr/local/apache /usr/local/apachebk
# yum reinstall ea-apache* -y
And after the operation and in the final message, ok will show you success.