【发布时间】:2012-12-24 02:32:05
【问题描述】:
我刚刚安装了 XAMPP,一切正常,除了我无法让 apache 运行。似乎端口 80 是问题,我已禁用 Skype 以使用端口 80,但它似乎并没有解决它。我在某处读到 SSL 端口可能是问题,应该更改。但我无法弄清楚端口是或如何更改它。
"Check the "/xampp/apache/logs/error.log" file"
我试图检查这个文件,但在“日志”里面什么都没有。从 apache 我可以去错误,但没有任何最近更改的文档。
错误:
20:34:24 [Apache] Problem detected!
20:34:24 [Apache] Port 80 in use by "system"!
20:34:24 [Apache] Apache WILL NOT start without the configured ports free!
20:34:24 [Apache] You need to uninstall/disable/reconfigure the blocking application
20:34:24 [Apache] or reconfigure Apache to listen on a different port
20:40:50 [Apache] Attempting to start Apache app...
20:40:50 [Apache] Status change detected: running
20:40:51 [Apache] Status change detected: stopped
20:40:51 [Apache] Error: Apache shutdown unexpectedly.
20:40:51 [Apache] This may be due to a blocked port, missing dependencies,
20:40:51 [Apache] improper privileges, a crash, or a shutdown by another method.
20:40:51 [Apache] Check the "/xampp/apache/logs/error.log" file
20:40:51 [Apache] and the Windows Event Viewer for more clues
如何修复这些错误?
【问题讨论】:
-
Skype 通常使用空闲端口 80 进行传入连接。请按照本教程了解如何克服此问题。只需在 Skype 中禁用它。按照本教程获取更多信息feelzdroid.com/2015/12/install-php-server-local-machine.html
-
我也有同样的问题,在这里查看我的答案; stackoverflow.com/a/46904133/621951