xampp中会出现的问题

2018-07-04  本文已影响23人  胜猿

当我们用xampp点击start启动的时候,会出现一下错误:

[Apache] Error: Apache shutdown unexpectedly.

16:23:00  [Apache] This may be due to a blocked port, missing dependencies,

16:23:00  [Apache] improper privileges, a crash, or a shutdown by another method.

16:23:00  [Apache] Press the Logs button to view error logs and check

16:23:00  [Apache] the Windows Event Viewer for more clues

16:23:00  [Apache] If you need more help, copy and post this

16:23:00  [Apache] entire log window on the forums

这是因为我们的端口被占用了,这时可以修改Config中Apache(httpd.conf)的数据:

1,Listen:80 改为监听8080;即Listen:8080

2,ServerName localhost:80改为ServerName localhost:8080;

这样就会解决这个端口占用的问题

上一篇 下一篇

猜你喜欢

热点阅读