XAMPP:无法启动 Apache (Windows 10) [英] XAMPP: Couldn't start Apache (Windows 10)
问题描述
我正在使用 XAMPP,我可以启动 Apache,但是,MySQL (phpMyAdmin)开始!
I'm using XAMPP, and I can start Apache, but, MySQL (phpMyAdmin) start!
当我开始时,我收到这个错误;
When I start, I get this error;
10:07:49 [Apache] Error: Apache shutdown unexpectedly.
10:07:49 [Apache] This may be due to a blocked port, missing dependencies,
10:07:49 [Apache] improper privileges, a crash, or a shutdown by another method.
10:07:49 [Apache] Press the Logs button to view error logs and check
10:07:49 [Apache] the Windows Event Viewer for more clues
10:07:49 [Apache] If you need more help, copy and post this
10:07:49 [Apache] entire log window on the forums
我搜索它,然后在配置中更改Apache的端口->服务和端口设置.我有;
I search on it, and, change the port of Apache in Config -> Service and Port setting. I have;
Service name: Apache 2.4
Main port: 122
SSL port: 444
我也卸载了 Skype(Windows 8/10/Metro 版本).没有任何工作.在 httpd.conf 文件中;
I also uninstall Skype (Windows 8/10/Metro version). Nothing is working. In the httpd.conf file I have;
Listen 122
ServerName localhost:122
我通过 apache_start.bat
启动它并获取;
I start it via apache_start.bat
and get;
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address [::]:445
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address 0.0.0.0:445
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs
请注意,所有日志文件都不存在!Skype 已卸载.
推荐答案
更新:2018 年 5 月 15 日:
最新的 Windows 10 更新(重新)激活了万维网发布服务(德语:WWW-Publishingdienst).这可能取决于您在配置更新时选择的选项.
The latest Windows 10 update (re-)activated the World Wide Web Publishing Service (in German: WWW-Publishingdienst). This might depend on the options you select during the configuration of the update you can make afterwards.
更新:2015 年 8 月 4 日:
如果您已完成 Windows 10 的全新安装,则您可能没有Word Wide Web 发布服务.在这种情况下,简单的 WAMP/XAMPP 安装应该可以正常工作.
If you have done clean installation of Windows 10, you may not have the Word Wide Web Publishing Service. In that case, simple WAMP/XAMPP installation should work fine.
如果没有,请尝试安装 VisualC++ Redistributable,然后重新安装 WAMP/XAMPP.
If it doesn't, try installing Visual C++ Redistributable and then re-install WAMP/XAMPP.
我在使用 WAMP 时遇到了类似的问题.在 Windows 10 TP 中,预装了 Word Wide Web 发布服务.这与IIS有关,如果不需要,可以将其删除.
I was facing a similar problem with WAMP. In Windows 10 TP, the Word Wide Web Publishing Service comes pre-installed. This is related to IIS and you can remove it if you don't need it.
这会阻止端口 80
,使 Apache 行为异常.您可以执行以下操作,然后重试.
This blocks the port 80
, making Apache act weirdly. You can do the following and try again.
- 转到开始,输入 services.msc
- 在服务"窗口中向下滚动以查找万维网发布服务.
- 右键单击它并选择停止.
这应该会使 80 端口免费,并且重新启动 WAMP/XAMPP 应该会让您启动并运行!
This should make port 80 free and restarting WAMP/XAMPP should get you up and running!
还有其他方法可以解决此问题.请参阅使 WAMP 在 Windows 10 上运行.
There are other ways to do fix this. See Make WAMP Work On Windows 10.
这篇关于XAMPP:无法启动 Apache (Windows 10)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!