Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

How do I fix Bytes log Error in Apache?

If you are getting following error while rebuilding apache or restarting apache then follow the solution below this –

Syntax error on line 1067 of /usr/local/apache/conf/httpd.conf:
Invalid command ‘BytesLog’, perhaps mis-spelled or defined by a module not included in the server configuration
/etc/rc.d/init.d/httpd start: httpd could not be started

Run it as it is ….

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

Share on Twitter
Share on Facebook