Mac:xampp 无法启动apache问题

mac下安装 xampp 无法启动apache

1.查看端口是否被占用 
sudo lsof -i -n

2.用终端运行xampp,查看具体的错误 
sudo su 
/Applications/XAMPP/xamppfiles/xampp start

多半是这个问题: 
XAMPP: Starting Apache…fail. 
XAMPP: Another web server is already running.

解决办法: 
sudo apachectl stop 

猜你喜欢

转载自blog.csdn.net/wujakf/article/details/78784503