Apache 不会在 xampp 中运行 [英] Apache won't run in xampp
问题描述
我刚刚安装了 XAMPP,一切正常,只是我无法运行 apache.似乎端口 80 是问题所在,我已禁用 Skype 以使用端口 80,但似乎无法修复它.我在某处读到 SSL 端口可能是问题所在,应该更改.但我不知道端口是什么或如何更改它.
I have just installed XAMPP and everything works fine except that I can't get apache to run. It seems that port 80 is the problem, I have disabled Skype to use port 80 but it doesn't seem to fix it. I read somewhere that the SSL port can be the problem and should be changed. But I cant figure out were the port is or how to change it.
"Check the "/xampp/apache/logs/error.log" file"
我曾尝试检查此文件,但在日志"中没有任何内容.从 apache 我可以去错误,但没有任何最近更改的文档.
I have tried to check this file but inside "logs" there isn't anything. From apache I can go to error but there is not any recently changed documents.
错误:
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
如何修复这些错误?
推荐答案
找出使用端口 80 的其他服务.
Find out which other service uses port 80.
我听说 Skype 使用端口 80.检查端口 80 上是否有其他服务器或数据库在后台运行.
I have heard skype uses port 80. Check it there isn't another server or database running in the background on port 80.
xampp 的两个不错的替代品是 wamp 和 easyphp.其中,wamp 是最用户友好的,它还有一个内置工具,用于检查端口 80 是否正在使用以及当前正在使用哪个服务.
Two good alternatives to xampp are wamp and easyphp. Out of that, wamp is the most user friendly and it also has a built in tool for checking if port 80 is in use and which service is currently using it.
或者禁用 iis.已知默认使用端口 80.
Or disable iis. It has been known to use port 80 by default.
这篇关于Apache 不会在 xampp 中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!