简体   繁体   English

XAMPP - Apache错误

[英]XAMPP - Apache Error

This is the error I get when I try to start Apache. 这是我尝试启动Apache时遇到的错误。

在此输入图像描述在此输入图像描述

The error logs are : 错误日志是:

 [ssl:warn] [pid 7132:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
 [ssl:warn] [pid 7132:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
 [mpm_winnt:notice] [pid 7132:tid 392] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15 configured -- resuming normal operations
 [mpm_winnt:notice] [pid 7132:tid 392] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
 [core:notice] [pid 7132:tid 392] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
 [mpm_winnt:notice] [pid 7132:tid 392] AH00418: Parent: Created child process 540
 [ssl:warn] [pid 540:tid 408] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
 [ssl:warn] [pid 540:tid 408] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
 [mpm_winnt:notice] [pid 540:tid 408] AH00354: Child: Starting 150 worker threads.

I don't understand what the problem is. 我不明白问题是什么。 Can anyone help? 有人可以帮忙吗?

I have changed the Ports in the below lines in the httpd.conf file 我在httpd.conf文件中更改了以下行中的Ports

Listen 80
ServerName localhost:80

Are there any other files where I need to change these values? 还有其他文件我需要更改这些值吗?

当我使用管理员权限运行XAMPP控制面板时,它工作正常。

You only have to change the port in the httpd.conf 您只需要更改httpd.conf中的端口
try: 尝试:

netstat -ano 

and check if Port 80 is not used by another Program. 并检查另一个程序是否未使用端口80。 Close the Program which uses port 80 and try to start apache again. 关闭使用端口80的程序并尝试再次启动apache。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM