XAMPP is a free distribution package that makes it easy to install Apache Web Server, PHP, PEAR, and MySQL. Before installing XAMPP, you should turn off any other web servers and instances of MySQL you have running on your Mac.
To start XAMPP simply open XAMPP Control (by going to /Applications/XAMPP/XAMPP Control in Finder) and start Apache and MySQL.
If your MySQL server isn't starting, you may need to set the permissions for it using Terminal with this command:
chmod -R 777 /Applications/XAMPP/xampfiles/var
In your web browser, go to http://localhost. You should see the start page of XAMPP:
Happy Mac XAMPPing!
Nat Dunn founded Webucator in 2003 to combine his passion for web development with his business expertise and to help companies benefit from both.