xampp安装后运行apache时出错

 hpdgm_679 发布于 2023-01-11 10:48

我在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

以下链接没有帮助我

为什么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.

CMPS.. 38

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

退出/退出Skype(确保它没有运行),因为它保留localhost:80

禁用防病毒(首先尝试禁用Skype并再次运行,如果它不起作用,请执行此步骤)

右键单击xampp控制面板并以管理员身份运行

它现在在重新启动后运行并以管理员身份运行 有没有办法以管理员身份运行?我想要自动启动 (3认同)

我真的被困在这里了.我卸载easyphp之后刚刚安装了xampp,我没有skype,我也没有看到任何apache服务启动?我有xamp控制面板,它会在启动时出错 (2认同)


小智.. 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 /
你必须给出你输入本地主机的端口号
希望这可以帮助你理解发生了什么.

2 个回答
  • 尝试这些方法,它应该工作:

    退出/退出Skype(确保它没有运行),因为它保留localhost:80

    禁用防病毒(首先尝试禁用Skype并再次运行,如果它不起作用,请执行此步骤)

    右键单击xampp控制面板并以管理员身份运行

    2023-01-11 10:51 回答
  • 我有同样的问题,我解决了更改端口.

    - >点击按钮配置前面的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 /
    你必须给出你输入本地主机的端口号
    希望这可以帮助你理解发生了什么.

    2023-01-11 10:51 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有