1、错误信息如下:Error: Apache shutdown unexpectedly.9:37:01 [Apache] This may be due to a blocked port, missing dependencies,9:37:01 [Apache] improper privileges, a crash, or a shutdown by another method.9:37:01 [Apache] Press the Logs button to view error logs and check9:37:01 [Apache] the Windows Event Viewer for more clues9:37:01 [Apache] If you need more help, copy and post this9:37:01 [Apache] entire log window on the forums
2、应该是端口的问题,这里使用程序提供的设置功能设置一下端口,具体需要点击程序界面上的【config】按钮。
3、在新窗口中点击【server and por setting】,在设置窗口上输入对应的对应的端口,需要记得通常情况下80窗口及443窗口可以一起修改。
4、回到后,再次点击启动,还是出错。。。。会不会是没有被修改,只能看一下程序下的配置文件,点xampp后的config,需要注意的是80端口及443端口需要分别设置。
5、打开配置文件后,直接使用搜索功能找到80端口的配置,将端口修改为801之类的,443端口同样,需要修改为其它端口,保存文件。
6、配置好后,点击启动,可以正常了。这里需要注意的事情是,第一次配置用的端口要与第二次手动配置的保持一致,因为点击界面上的【admin】启动管理界面时,使用的是第一次配置时使用的端口,只有保持一致才能打开网页管理界面。