# Fixing the "Invalid command 'BytesLog'" error

Source: <https://beta.dedicated.com.tr/en/kb/invalid-command-byteslog-error>  
Last updated: 2026-11-28

If Apache shows the following error and your web server is not running:

```text
Invalid command 'BytesLog', perhaps mis-spelled or defined by a module not included in the server configuration
```

run these commands over SSH:

```bash
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
```
