When Apeache does not start successfully use the command line detection method

  • 2020-06-15 10:59:27
  • OfStack

1. When configuring Apache server, we often need to modify and add some code in httpd.conf. In the process of writing, if it is written by mistake or by mistake, when it cannot start normally, we will directly report the error to The requested has failed!

2. For beginners, it is not easy to find the configuration errors of Apache, which can be detected by the command line.

3, open the command line cmd, enter the black screen, type httpd.exe-ES17en screen to report the error in the configuration file

// httpd. exe call time Apache/bin under the program file, so to configure the environment variable

// Add ServerName localhost:80 to the configuration file when other errors are reported in the black screen line.


Related articles: