Windows 10 XAMPP Apache意外关闭

Windows 10 XAMPP Apache意外关闭,apache,xampp,port,Apache,Xampp,Port,我有一些项目在我的计算机上运行XAMPP,它在Windows 10上运行。在过去的3到4个月里,我一直在使用XAMPP,一点问题都没有,但昨天在windows更新之后,它突然无法打开Apache服务器,并说: Error: Apache shutdown unexpectedly. This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by ano

我有一些项目在我的计算机上运行XAMPP,它在Windows 10上运行。在过去的3到4个月里,我一直在使用XAMPP,一点问题都没有,但昨天在windows更新之后,它突然无法打开Apache服务器,并说:

Error: Apache shutdown unexpectedly.
This may be due to a blocked port, missing dependencies, 
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums
我一直无法找到解决方案,我尝试了许多我可以在网上找到的东西,所以如果有人可以帮助我,请

编辑** 自从这件事发生后,我已经重新启动了我的电脑好几次,没有任何改变!然而,我在发帖时忘了说MySQL服务器正在像以前一样运行!但是,Apache服务器不支持

编辑2** 我尝试了很多事情,例如卸载XAMPP并重新安装,直接从CMD运行Apache以检查任何错误(没有显示错误),更改了Apache的端口配置,即使端口80似乎正在侦听,我还尝试安装其他类似XAMPP的程序(如MAMP、WAMP)但是没有什么真正出来,也没有像XAMPP那样的程序起作用!有人有什么建议吗? 另外,奇怪的是,XAMPP在我的第二台电脑(Windows7)上运行得很好,就像以前一样,但我希望它在这台电脑上运行,因为我在这里进行开发(另一台电脑又旧又慢)。 此外,现在XAMPP似乎没有在其控制台中抛出“红线错误”,它只是说:

[Apache]    Attempting to start Apache service...
而且它似乎没有改变。
这只在我以管理员XAMPP身份运行时发生

我在挖掘我的日志/错误文件后找到了解决方案,这就是显示的内容

 www.example.com:443:0 server certificate does NOT include an ID which matches the server name
 pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
 www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP警告:“C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll”14.0与第0行中与14.28链接的此PHP版本不兼容


因此,我从另一篇文章中找到了一个解决方案,您可以在该文章中找到

您重新启动电脑了吗?如果XAMPP在第一次重新启动后无法重新启动,是否再次尝试重新启动?您究竟是如何手动启动XAMPP,还是自动启动?最近一次重新启动后的确切错误是什么?请编辑您的帖子并添加此信息。另外:可能有很多事情导致了这一点,检查日志并发布在这里,我们需要更多信息。我重新启动了我的电脑几次,但没有任何变化,我一直得到的是我在主帖子上发布的这个错误。我手动启动XAMPP,而不是自动启动。我也检查了视频和文章,但没有解决我的问题,每次在Apache服务器上按start时,我都会收到相同的行。