关于XAMPP的安装

这个东西是书上看到的,集成环境,不错。

下载了一个XAMPP的安装版,先要点setup的脚本,然后运行control

但是Apache还是起不来,不知道为什么

错误:

18:55:49 [Apache] Status change detected: running

18:55:50 [Apache] Status change detected: stopped

18:55:50 [Apache] Error: Apache shutdown unexpectedly.

18:55:50 [Apache] This may be due to a blocked port, missing dependencies,

18:55:50 [Apache] improper privileges, a crash, or a shutdown by another method.

18:55:50 [Apache] Press the Logs button to view error logs and check

18:55:50 [Apache] the Windows Event Viewer for more clues

18:55:50 [Apache] If you need more help, copy and post this

18:55:50 [Apache] entire log window on the forums

img

后来发现是因为80端口被占了,解决方法是点Apache的Config,把所有80改成81,然后XAMPP的管理的Config里也要改成81端口。

img

但是Tomcat能启动,但是点左面的红叉装上服务之后就不能启动。

所以应该是装不上服务。