xampp for mac


Installing XAMPP on your MAC personal computer

XAMPP stands for “X (one of four OSs), Apache, MySQL, PHP, PERL” and is used to enable your personal computer with the web and database tools necessary to host its own dynamically driven websites for testing and development purposes. The following tutorial video demonstrations will show you the steps to set your computer up as a “localhost” server on a Mac.

Installing XAMPP on a Mac

The 2-part video playlist is embedded below, but first read through what each part covers!

Part one covers the following:

  1. What XAMPP is and why we use it
  2. The installation process
  3. Understanding the host name portion of the URL
  4. Understanding what the ‘hosts’ file on your computer does
  5. Understanding how ‘localhost’ maps to the loopback address, ‘’
  6. Understanding what’s in the Dashboard.

IMPORTANT: INSTALL THE RIGHT VERSION. Please install the 8.1.6 version (163Mb installer)  in the image below from the XAMPP Downloads page to follow this tutorial! Do NOT install a “VM” (Virtual Machine) version for this class. It will not function the same. Mac users should not download the version advertised on the main homepage of www.apachefriends.org. 

Download Mac XAMPP installer 8.1.6

Part two covers the following:

  1. How the ‘localhost’ URL maps to the ‘htdocs’ folder
  2. Understanding where all of the files are kept and in which pathways
  3. How the ‘index.php’ file in htdocs redirects to ‘dashboard/’
  4. How you can get a directory listing by renaming the index file.



If you have questions or problems with your installation, check out the OS X FAQs page before posting to the class discussion board.