刚刚发现MacOS上的XAMPP nfs挂载位于以下路径中:
/Users/my_name/.bitnami/stackman/machines/xampp/volumes/root/htdocs
新版本的XAMPP使用VM作为其内容,您需要安装卷以访问htdoc。
有关旧XAMPP和XAMPP-VM之间差异的更多信息:XAMPP-VM for Mac
在其他位置找到适用于macOS Sierra的XAMPP的正确且活跃的htdocs
目录,请按照以下三个步骤操作;
在结果窗口中,您可以轻松找到htdocs
文件夹。
更多详细信息here。
删除xampp.app,下载新的(我使用5.6.31 php ver)然后重新安装它。
/Applications/XAMPP/xamppfiles
那就是你会找到htdocs的地方。