Invalid command ‘BytesLog’ error after upgrade to cPanel version to 11

cPanel upgrade error

cPanel version get upgraded to 11 most common problem many peoples are facing with starting Apache on new installation.
The error reported is :

Invalid command ‘BytesLog‘, perhaps mis-spelled or defined by a module not included in the server configuration
/usr/local/apache/bin/apachectl start: httpd could not be started

To fix this mod_log_bytes.c needs to be re-compiled.

cd /usr/local/cpanel/apache


/usr/local/apache/bin/apxs -iac mod_log_bytes.c

About Anant 386 Articles
Senior technical writer