ios + web service

来源:互联网 发布:无商标产品 淘宝 卖 编辑:程序博客网 时间:2024/05/19 05:32

1.安装xampp

https://www.apachefriends.org/download.html

2.安装问题

后来发现server无法启动

逐一排查问题

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
// This command killed Apache server that was pre-installed on MAC OS X.

0 0
原创粉丝点击