MAMP for Mac
XAMPP has Mac version, while MAMP for MAC seems has apple dev certificate already, so no warning on install.
MAMP is similar to XAMPP, it has phpmyadmin for database already
default htdoc view:
http://localhost:8888/
default database view:
http://localhost:8888/phpmyadmin/
default pass: root,root
default MAMP welcome page:
http://localhost:8888/MAMP/?language=English
in its app window, you can see
doc path: /Applications/MAMP/htdoc
Apache or Nginx server option
php version
preference for auto start and stop
ports
(MAMP default) 8888 for web, 8889 for db
(standard default) 80 for web, 3306 for db (recommended if you dont want to modify your other code to MAMP default)
htdoc view:
http://localhost/
default database view:
http://localhost/phpmyadmin/