Mad*_*dde 25 apache xampp port
我刚刚安装了XAMPP,一切正常,但我无法运行apache.似乎端口80是问题,我已禁用Skype使用端口80,但它似乎没有解决它.我读到某个地方SSL端口可能是问题,应该更改.但我无法弄清楚端口是或如何改变它.
"Check the "/xampp/apache/logs/error.log" file"
Run Code Online (Sandbox Code Playgroud)
我试图检查这个文件,但在"日志"里面没有任何东西.从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
Run Code Online (Sandbox Code Playgroud)
如何修复这些错误?
Afr*_*anJ 43
如果您只想让Apache运行,请不要介意它运行的端口,请执行以下操作:
在XAMPP控制面板中,单击Apache - "配置"按钮,该按钮位于"日志"按钮旁边.
从下拉列表中选择"Apache(httpd.conf)".(记事本应该打开)
做Ctrl+ F找'80'.点击"查找下一个"三次,然后将行更改Listen 80为Listen 8080
再次点击"查找下一个",直到您看到行ServerName localhost:80更改为ServerName localhost:8080
执行Ctrl+ S保存,然后退出记事本.
在XAMPP控制面板中再次启动Apache,Apache应该成功运行.
使用http://localhost:8080/在浏览器地址栏,检查一切正常.
编辑
此外,您在运行IIS时可能会遇到运行XAMPP的问题.如果您正在运行IIS,则可能需要停止服务然后启动XAMPP.
Muh*_*man 13
有两种方法可以解决这个问题.
#Listen 0.0.0.0:80
#Listen [::]:80
Listen 80
Run Code Online (Sandbox Code Playgroud)
通过
#Listen 0.0.0.0:81
#Listen [::]:81
Listen 81
Run Code Online (Sandbox Code Playgroud)
在第45行
如果您没有找到"全球发布服务",那么请转到"运行>> resmon.exe >>网络选项卡>>侦听端口"并查看哪个进程正在使用端口80

从"概述>> CPU"只需右键单击该过程,然后单击"结束进程树".如果该过程是可能是关键问题的系统.
小智 7
看看这个网站:
http://www.lukebrowning.com/blog/nt-kernel-system-using-port-80/
就我而言,它是SQL Server报告服务,但其他人已经看过IIS或Web部署代理服务.
打开cmd窗口并运行services.msc,找到该服务并停止它.然后尝试启动Apache.如果可行,请禁用其他服务.
请注意,此问题通常会出现两个原因:
1端口80正忙.
2端口443正忙.
对于其他人说的第一名,你可以杀死Skype和SQL Serever Reporter
Windows任务管理器>"服务"选项卡>"服务..."按钮.
但如果它不起作用,可能是因为端口443,所以试试这个:
如果您使用VMware,请转到
Windows任务管理器>"服务"选项卡>"服务..."按钮,找到"VMware Workstation Server"服务,双击它并按"停止"按钮.
没有必要停止其他VMware的服务.
然后再次尝试运行Apache
| 归档时间: |
|
| 查看次数: |
206187 次 |
| 最近记录: |