在XAMPP启动后,Apache意外关闭(Windows 7)

时间:2014-07-07 23:26:59

标签: apache webserver xampp windows-7-x64

请注意,如果这只是一个愚蠢的错误,我就是新手。请耐心等待。

我的Win 7笔记本电脑上有XAMPP,没有IIS,没有额外的MySQL东西。但是,每当我点击apache模块的start时,都会出现。

18:18:01  [Apache]  Problem detected!
18:18:01  [Apache]  Port 80 in use by "Unable to open process" with PID 4!
18:18:01  [Apache]  Apache WILL NOT start without the configured ports free!
18:18:01  [Apache]  You need to uninstall/disable/reconfigure the blocking application
18:18:01  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
18:18:01  [Apache]  Attempting to start Apache app...
18:18:02  [Apache]  Status change detected: running
18:18:02  [Apache]  Status change detected: stopped
18:18:02  [Apache]  Error: Apache shutdown unexpectedly.
18:18:02  [Apache]  This may be due to a blocked port, missing dependencies, 
18:18:02  [Apache]  improper privileges, a crash, or a shutdown by another method.
18:18:02  [Apache]  Press the Logs button to view error logs and check
18:18:02  [Apache]  the Windows Event Viewer for more clues
18:18:02  [Apache]  If you need more help, copy and post this
18:18:02  [Apache]  entire log window on the forums

Skype和VMWare已断开连接,错误日志或Windows事件查看器中没有任何内容,据我所知,端口80是免费的

欢迎任何建议。

非常感谢

编辑:谢谢你的回答。结果发布了与Microsoft WebMatrix一起发布的Web部署服务。非常感谢。

1 个答案:

答案 0 :(得分:0)

从错误日志中可以看出端口80是打开的

Open a CMD prompt and type in command: net stop was /y

Run Dialog Box (press keys Win+R) .. then type: services.msc

然后我向下滚动到:World Wide Web Publishing Service双击它并单击STOP(如果此服务状态为Started)

Start Apache again with XAMPP :)

链接参考:http://www.sitepoint.com/unblock-port-80-on-windows-run-apache/