首页 > 解决方案 > 错误:Apache 意外关闭。[阿帕奇,xampp,phpmyadmin]

问题描述

当我尝试打开 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我该怎么做

标签: apachexampp

解决方案


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

听 80

将其更改为

听8080

然后向下滚动并找到

服务器名称本地主机:80

并将其更改为

服务器名称 localhost:8080

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


推荐阅读