xampp安装后运行apache时出错

ajt*_*ajt 24 mysql apache xampp

我在win7上安装了xampp并在启动apache时出现此错误.我取消选中了Skype,没有任何变化.如何找到使用端口80的内容?我该如何解决这个问题.我没有运行另一台服务器.

update this is the error. I click on start and  get this problem
    Error: Apache shutdown unexpectedly.
11:27:19 PM  [Apache]   This may be due to a blocked port, missing dependencies, 
11:27:19 PM  [Apache]   improper privileges, a crash, or a shutdown by another method.
11:27:19 PM  [Apache]   Press the Logs button to view error logs and check
11:27:19 PM  [Apache]   the Windows Event Viewer for more clues
11:27:19 PM  [Apache]   If you need more help, copy and post this
11:27:19 PM  [Apache]   entire log window on the forums
Run Code Online (Sandbox Code Playgroud)

以下链接没有帮助我

为什么Apache不会在XAMPP安装中启动?

这是错误日志

[Sat Jun 07 22:36:53.823331 2014] [ssl:warn] [pid 6048:tid 236] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jun 07 22:36:54.084345 2014] [ssl:warn] [pid 6048:tid 236] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jun 07 22:36:55.240412 2014] [mpm_winnt:notice] [pid 6048:tid 236] AH00455: Apache/2.4.9 (Win32) OpenSSL/1.0.1g PHP/5.5.11 configured -- resuming normal operations
[Sat Jun 07 22:36:55.241412 2014] [mpm_winnt:notice] [pid 6048:tid 236] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Sat Jun 07 22:36:55.241412 2014] [core:notice] [pid 6048:tid 236] AH00094: Command line: 'E:\\xampp\\apache\\bin\\httpd.exe -d E:/xampp/apache'
[Sat Jun 07 22:36:55.339417 2014] [mpm_winnt:notice] [pid 6048:tid 236] AH00418: Parent: Created child process 1840
[Sat Jun 07 22:36:55.950452 2014] [ssl:warn] [pid 1840:tid 248] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jun 07 22:36:56.202467 2014] [ssl:warn] [pid 1840:tid 248] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jun 07 22:36:56.299472 2014] [mpm_winnt:notice] [pid 1840:tid 248] AH00354: Child: Starting 150 worker threads.
Run Code Online (Sandbox Code Playgroud)

CMP*_*MPS 38

尝试这些方法,它应该工作:

  • 退出/退出Skype(确保它没有运行),因为它保留localhost:80
  • 禁用防病毒(首先尝试禁用Skype并再次运行,如果它不起作用,请执行此步骤)
  • 右键单击xampp控制面板并以管理员身份运行

  • 它现在在重新启动后运行并以管理员身份运行 有没有办法以管理员身份运行?我想要自动启动 (3认同)
  • 我真的被困在这里了.我卸载easyphp之后刚刚安装了xampp,我没有skype,我也没有看到任何apache服务启动?我有xamp控制面板,它会在启动时出错 (2认同)

Car*_*s H 27

我有同样的问题,我解决了更改端口.

- >点击按钮配置前面的Apache.
1)选择Apache(httpd.conf)
2)搜索此行:Listen 80
3)更改为:Listen 8081
4)保存文件
- >单击Apache前面的Config按钮.
1)选择Apache(httpd-ssl.conf)
2)搜索此行:Listen 443
3)更改为:Listen 444
4)保存的文件
我可以从端口8081运行xammp
http:// localhost:8081 /
你必须给出你输入本地主机的端口号
希望这可以帮助你理解发生了什么.


Waq*_*ary 5

在 Windows 10 上安装 xampp 时,我遇到了同样的错误。

www.example.com:443:0 服务器证书不包含与服务器名称匹配的 ID

所以我httpd-ssl.conf在 xampp 文件夹中打开文件并更改了以下行

ServerName www.example.com:443
Run Code Online (Sandbox Code Playgroud)

ServerName localhost
Run Code Online (Sandbox Code Playgroud)

问题得到了解决。