错误:Apache意外关闭。更改了端口,仍然无法正常工作

时间:2014-08-22 17:05:07

标签: apache xampp

我安装了XAMPP,出于某种原因,当我开始运行Apache时,它并没有运行。我没有使用Skype,也将端口从80改为8080,7777。但似乎没有任何效果。 此外,当我尝试打开日志时,它们都是空的。

我得到的详细错误如下

10:29:55 PM  [Apache]   Attempting to start Apache app...
10:29:55 PM  [Apache]   Status change detected: running
10:29:57 PM  [Apache]   Status change detected: stopped
10:29:57 PM  [Apache]   Error: Apache shutdown unexpectedly.
10:29:57 PM  [Apache]   This may be due to a blocked port, missing dependencies, 
10:29:57 PM  [Apache]   improper privileges, a crash, or a shutdown by another method.
10:29:57 PM  [Apache]   Press the Logs button to view error logs and check
10:29:57 PM  [Apache]   the Windows Event Viewer for more clues
10:29:57 PM  [Apache]   If you need more help, copy and post this
10:29:57 PM  [Apache]   entire log window on the forums

请有人帮忙

2 个答案:

答案 0 :(得分:1)

好吧,不知何故重新安装XAMPP对我有用。

答案 1 :(得分:0)

确保将xampp文件夹安装(或解压缩)到根目录(C:\)。它帮助我,即使Skype在同一个端口上监听,apache仍然可以启动。

最好将http端口和ssl端口更改为最大65535的某个不同的数字。您必须分三步更改它:

1)在配置面板中 - >服务和端口设置 - >主要港口& SSL端口

2)Apache(httpd.conf)

3)Apache(httpd-ssl.conf)