xampp server not starting mac code example
Example 1: apache2 does not start xampp mac
sudo /Applications/XAMPP/xamppfiles/bin/apachectl start
sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start
Example 2: mysql server not starting in xampp in mac
sudo rm -rf ~/.bitnami // type this command in your terminal.
//THIS WILL SOLVE THIS PROBLEM BUT WILL DELETE ALL YOUR DATABASES