Apache - AuniTech/DevTips GitHub Wiki

Restarting apache

Use

apache2ctl graceful

or

apache2ctl restart

Error log

Accessing the error log is most easily done this way:

tail /var/log/apache2/error.log

To get a constantly updated error log in your console use the -f flag

tail -f error.log