During Apache restart in cPanel, you may get the error:
Invalid command ‘BytesLog’, perhaps mis-spelled or defined by a module not included in the server configuration
In order to resolve the issue you have to recompile the modules for Apache by using the following commands:
cd /usr/local/cpanel/apache /usr/local/apache/bin/apxs -iac mod_log_bytes.c /usr/local/apache/bin/apxs -iac mod_bwlimited.c /usr/local/apache/bin/apxs -iac mod_bandwidth.c /etc/rc.d/init.d/httpd restart
This will help to resolve the issue.