本文介绍了XAMPP:无法启动Apache(Windows 10)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用XAMPP,并且可以启动Apache,但是,MySQL( phpMyAdmin )开始!

I'm using XAMPP, and I can start Apache, but, MySQL (phpMyAdmin) start!

开始时出现此错误;

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

我对其进行搜索,然后在Config-> Service and Port setting中更改Apache的端口.我有;

I search on it, and, change the port of Apache in Config -> Service and Port setting. I have;

Service name : Apache2.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 I have;

Listen 122
ServerName localhost:122

我通过apache_start.bat启动并获取;

(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

请注意,所有 log 文件都不存在! Skype已卸载.

Please note that all the log files don’t exists!Skype is uninstalled.

推荐答案

更新: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万维网发布服务.在这种情况下,简单的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.

如果没有,请尝试安装 Visual C ++ Redistributable ,然后重新安装WAMP/XAMPP.

If it doesn't, try installing Visual C++ Redistributable and then re-install WAMP/XAMPP.

我遇到了WAMP的类似问题.在Windows 10 TP中,预安装了 Word万维网发布服务.这与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
  • 在服务"窗口中向下滚动以找到万维网发布服务.
  • 右键单击它,然后选择停止.
  • Go to Start, type in services.msc
  • Scroll down in the Services window to find the World Wide Web Publishing Service.
  • Right click on it and select Stop.

这应该使端口 80 空闲,并且重新启动WAMP/XAMPP应该可以使您正常运行!

This should make port 80 free and restarting WAMP/XAMPP should get you up and running!

还有其他方法可以解决此问题.请参阅 在Windows 10上使WAMP工作 .

There are other ways to do fix this. See Make WAMP Work On Windows 10.

这篇关于XAMPP:无法启动Apache(Windows 10)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 18:40