【问题标题】:Error: Apache shutdown unexpectedly. [ apache,xampp,phpmyadmin ]错误:Apache 意外关闭。 [阿帕奇,xampp,phpmyadmin]
【发布时间】:2021-02-14 11:57:10
【问题描述】:

当我尝试打开 apache 出现此错误:

2:45:49 PM  [Apache]    Error: Apache shutdown unexpectedly.
2:45:49 PM  [Apache]    This may be due to a blocked port, missing dependencies, 
2:45:49 PM  [Apache]    improper privileges, a crash, or a shutdown by another method.
2:45:49 PM  [Apache]    Press the Logs button to view error logs and check
2:45:49 PM  [Apache]    the Windows Event Viewer for more clues
2:45:49 PM  [Apache]    If you need more help, copy and post this
2:45:49 PM  [Apache]    entire log window on the forums

我尝试更改端口并将粘贴从备份文件复制到数据文件,但没有成功

我想如果我重新安装它会工作,但我在 HTDOCS 中有数据库和网站我该怎么办

【问题讨论】:

  • 在它停止工作之前你是否安装了一些东西?您编辑过任何配置吗?
  • 在 errr 之前我没有安装任何东西,但是我在 errr 之后编辑了从 80 到 8080 和从 443 到 4433 的端口
  • 提供更多信息。显示 httpd.conf、vhost.conf。检查所有路径是否正确
  • 这个好像和phpMyAdmin应用没什么关系,所以我给你去掉了phpMyAdmin标签。

标签: apache xampp


【解决方案1】:

转到xampp并打开你的apache配置你会看到httpd.conf打开它,向下滚动并找到

听 80

改成

听 8080

然后向下滚动并找到

服务器名称 localhost:80

然后改成

服务器名称 localhost:8080

我认为这些信息很有用。它对我有用...

【讨论】:

  • 是的,有用并在之前的那个中工作过,但这个没有工作,所以我重新安装了软件,谢谢
猜你喜欢
  • 2016-04-15
  • 2021-10-04
  • 2013-08-20
  • 1970-01-01
  • 2015-11-21
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多