How to check the apache config on ubuntu

You can run the below commands to test and check the status of apache configuration. This will list the incorrect configuration or apache config which is breaking to start the apache,

  1. Go to apache installation directory, –  cd /etc/apache2
  2. type the command  –  apache2ctl configtest

Leave a Reply

Your email address will not be published. Required fields are marked *