apache - 错误: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
我该怎么做
解决方案
转到 xampp 并打开您的 apache 配置,您会看到httpd.conf
打开它,向下滚动并找到
听 80
将其更改为
听8080
然后向下滚动并找到
服务器名称本地主机:80
并将其更改为
服务器名称 localhost:8080
我认为这些信息很有用。它对我有用...
推荐阅读
- swift - 虽然当前导航然后显示视图控制器栏按钮不来,为什么在 swift
- javascript - 在我的表单按钮上调用 submit() 和 reload() 不起作用
- minecraft - 当我尝试构建我的 jar 文件(java)时,获取包 org.bukkit 不存在
- php - 在php中使用通配符更改多维数组值?
- python - 如何创建用于猪拉丁语和 izzle 翻译的代码以及同时应用它们的代码?
- azure-storage - Azure blob 存储:同一 Azure 存储帐户中跨容器的块 blob 同步副本不起作用
- javascript - 将数组拆分成块并重复前面的元素
- flutter - SingleChildScrollView 把所有东西都推上去(问题)
- html - django 查询集未显示准确结果(构建新闻应用程序)
- flutter - 有没有办法在 VS Code 上的类和方法之间添加水平标尺,比如 IntelliJ?