2016-01-23 94 views
1

我试图在XAMPP控制面板v.3.2.2上运行ApacheMySQL,但它不想启动。XAMPP - Apache和MySQL

我搜索了一下,主要是因为端口已经在使用中(通常是因为Skype使用它),但我在Skype中重新标记了该功能,它仍然是一样的。

我不确定我是否在其他地方使用它 - 我没有据我所知 - 或者是别的。

XAMPP安装很新鲜,我从来没有安装过它。

这是错误,我得到:

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

+1

可能重复[Apache不从XAMPP控制面板运行](http://stackoverflow.com/questions/17946150/apache-is-not-running-from-xampp-control-panel) – mega6382

+0

您应该检查apache日志文件。 – Carlo

回答

1

更改这些

法01 - 更改XAMPP端口

在你httpd.conf

更改端口这样

#Listen 12.34.56.78:80 
Listen 85 

然后访问使用本地主机

localhost:85/ 

Check this answer too


法02 - 更改Skype的端口

转到Tools/Option/Advanced/Connections取消选中框“use port 80 and 443 as alternative”。

+0

我完成了所有工作,但并没有改变。另外,当我在cmd中键入netstat -nab时,它会显示“请求的操作需要提升”。 – Seinfeld

+0

@Seinfeld高兴地帮助你:) –

+0

哈哈,它现在有点不知何故:)谢谢你 – Seinfeld