我刚刚重新安装了XAMPP,当我尝试在XAMPP控制面板中启动我的Apache服务器时,现在出现以下错误:
16:50:25 [Apache] Status change detected: running
16:50:26 [Apache] Status change detected: stopped
16:50:26 [Apache] Error: Apache shutdown unexpectedly.
16:50:26 [Apache] This may be due to a blocked port, missing dependencies,
16:50:26 [Apache] improper privileges, a crash, or a shutdown by another method.
16:50:26 [Apache] Press the Logs button to view error logs and check
16:50:26 [Apache] the Windows Event Viewer for more clues
16:50:26 [Apache] If you need more help, copy and post this
16:50:26 [Apache] entire log window on the forums
我该如何解决?
error.log
,我看到PHP Warning: 'vcruntime140.dll' 14.0 is not compatible with this PHP build
导致我回答这个问题。安装所需的可再发行组件解决了该问题。