XAMPP - Apache Error

僤鯓⒐⒋嵵緔 提交于 2019-12-18 05:21:26

问题


This is the error I get when I try to start 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

Listen 80
ServerName localhost:80

Are there any other files where I need to change these values?


回答1:


It worked when i run the XAMPP control panel with administrator rights.




回答2:


You only have to change the port in the httpd.conf
try:

netstat -ano 

and check if Port 80 is not used by another Program. Close the Program which uses port 80 and try to start apache again.



来源:https://stackoverflow.com/questions/26928989/xampp-apache-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!