Check the Apache configuration for syntax errors
apache config test command | apache syntax ok check | apache won't start after config change | find apache2 configuration error | apache2ctl | configuration | syntaxapache2ctl configtestReads all configuration files and reports Syntax OK or the faulty file along with the line number. Run it after every change to virtual hosts, .conf files or modules, before reloading Apache. The running web server is left untouched.
Note: A warning like Could not reliably determine the server's fully qualified domain name is not an error, it only means ServerName is missing from the global configuration.
Also searched as
- apache config test command
- apache syntax ok check
- apache won't start after config change
- find apache2 configuration error