在Mac上安装了xampp之后,如何使其通过本地主机或127.0.0.1访问http://192.168.64.2/dashboard?
You most likely installed the application that sets up a virtual machine. Revisit the download page and select the application without 'vm' at the end
Like Ab Ned said, you've probably installed the VM version. I guess that's a good thing because it might save your from unwanted side-effects. So, if you want to stick with it, just activate the port forwarding:
There's also a little walkthrough at https://www.apachefriends.org/faq_stackman.html.