Menu

Check apache config files’ syntax

November 4, 2015 - ubuntu, ubuntu server

Check apache config files’ syntax

To check your apache2 config files for syntax errors run

sudo apache2ctl configtest
or shorter

sudo apache2ctl -t
Be aware that this does not guarantee a successful Apache startup. It may still fail due to permission errors, etc.

Leave a Reply