Skip to content
Home » How to check apache configuration

How to check apache configuration

Let’s start the discussion about How to check apache configuration in following methods.

You can use Apache’s built-in feature to test the validity of the config file to check your config files for errors or warnings. Before resuming the service, you can verify the configuration files again and again until all errors and warnings have been removed.

apache check configuration

To verify your Apache configuration from the terminal, use both apachectl and the httpd utility.

#check the syntax on your apache config(s) BEFORE you restart 
sudo apachectl -t

sudo apache2ctl configtest

I hope the strategies listed above work for you. Happy coding and come back again.

Similar Post : Module not found: Can’t resolve ‘axios’ in ‘C:\Users\