我刚刚重新安装XAMPP,当我试图在XAMPP控制面板中启动我的Apache服务器时,我现在得到以下错误:

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

我怎么解决这个问题?


当前回答

我通过停止“Web部署代理服务”解决了这个问题。打开:System -> Computer Management -> Services -> Web部署代理服务。停止此服务并启动XAMPP工作。 我想这是MS Webmatrix提供的一项服务。

>系统和保安>管理>服务>网络调送服务

其他回答

对我来说,这个问题始于我在Windows 8电脑上托管vpn连接时。

简单地删除连接从“控制面板\网络和互联网\网络连接”解决了这个问题。

我的例子很简单。

我在我的以太网端口上设置了一个本地IP地址。

然后出现这个错误。结果我并没有连接 将电缆连接到它,因此IP不会解析为Apache中的IP集。

解决方案是将电缆连接到交换机或路由器。然后可以启动Apache。

更改端口后,请记住在配置中更改端口。 它将通过“http://localhost:8081/phpmyadmin/”而不是http://localhost/phpmyadmin/运行

按照这个方法立即解决!

这是来要么它没有访问启动一个服务监听端口

Soln:使用管理员权限

这是因为系统上已经运行了一个端口80,443

Soln:使用netstat -ano |查找“0.0.0.0:443”,然后使用taskkill /pid ENTER_PROCESS_ID /F关闭并重启Apache

搜索正在运行的后台服务,你不需要的可能是mongo,节点服务器等,关闭它们 如果没有工作,打开httpd.conf和httpd-ssl.conf文件,将443替换为4431,将80替换为8080 没有任何工作可能是由于与文件相关的问题,所以再次安装XAMPP在一个没有空间C:\XAMPP的位置

解决! ! ! !

开放的Skype。

工具—>选项—>高级—>连接。

取消选中“使用端口80和443作为传入连接的替代”复选框

退出并关闭所有Skype窗口。尝试重新启动Apache。