apache doesn't start xampp 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: xampp apache not starting
sudo /etc/init.d/apache2 stop
sudo /opt/lampp/lampp start