如果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