XAMPP for Mac

  1. Download XAMPP here
  2. Install XAMPP by clicking the .dmg file
  3. Start the Apache, MySQL and FTP Server
  4. You can put your Websites in /Applications/XAMPP/htdocs/ and access them via http://localhost/
  5. Or you put your Websites in the Sites-Folder in your Home and access them via http://localhost/~yourname/
  6. Type your first php code and save it in /Users/yourname/Sites
  7. Access it via browser http://localhost/~yourname/helloworld.php

Advertisements