如果MYSQL Database无法运行,在命令行输入sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start
然后再点击start就可以运行了
如果ProPTPD无法运行,多半是端口被占用,解决方法如下:
- Open the file /Applications/XAMPP/etc/proftpd.conf
- Search for the port "21" and change it to some other port (e.g 28).
- Open the file /Applications/XAMPP/xamppfiles/xampp
- Search for the port "testport 21" and replace it to "testport 28".
- sudo /Applications/XAMPP/xamppfiles/xampp start
如果Apache Web 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 start