Skip to content

How to check the Apache configuration file (httpd.conf)?

How to check the Apache configuration file (httpd.conf)?

Answer:

When you have made changes to the Apache configuration file (httpd.conf), you should always perform a syntax check on the file before restarting the Apache. Especially if it is on a production environment.

Use the following command to perform a config test

apachectl configtest

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  1. Set PHP settings in Apache configuration
  2. Disable X-Powered-By and Server headers in Apache/PHP
  3. How to restart Apache without disconnecting user
  4. Enable Server Side Includes in Apache
  5. Perform syntax check to PHP files

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*