[英]Unable to find htdocs on xampp
I have installed XAMPP for macOS Sierra.我已经为 macOS Sierra 安装了 XAMPP。
I have one icon in application for XAMPP.我在 XAMPP 的应用程序中有一个图标。
I am able to run the server & it's services but I am not able to find the htdocs
folder.我能够运行服务器及其服务,但找不到htdocs
文件夹。
I have not found it under \Library\Webserver
我在\Library\Webserver
下没找到
Just found out that XAMPP nfs mounts on MacOS are located in following path:刚刚发现 MacOS 上的 XAMPP nfs 安装位于以下路径中:
/Users/my_name/.bitnami/stackman/machines/xampp/volumes/root/htdocs
The new version of XAMPP uses a VM for its content, you need to mount the Volume to access htdocs.新版 XAMPP 的内容使用 VM,您需要挂载 Volume 才能访问 htdocs。
More info about differences between old XAMPP and XAMPP-VM: XAMPP-VM for Mac有关旧 XAMPP 和 XAMPP-VM 之间差异的更多信息: XAMPP-VM for Mac
In other to locate the right and active htdocs
directory of your XAMPP for macOS Sierra, follow the three steps below;另外,要找到适用于 macOS Sierra 的 XAMPP 的正确和活动的htdocs
目录,请按照以下三个步骤操作;
From the resulting window, you can easily locate your htdocs
folder.在出现的窗口中,您可以轻松找到htdocs
文件夹。
Delete the xampp.app, download the new one(I use 5.6.31 php ver) then reinstall it.删除 xampp.app,下载新的(我使用 5.6.31 php ver)然后重新安装。
You can also mount it on your own mac:也可以挂载到自己的mac上:
hatem@Mac:/opt$ sudo mkdir lampp
hatem@Mac:/opt$ sudo mount -t nfs -o resvport,rw 192.168.64.2:/opt/lampp /opt/lampp
Then ls and you will find the entire lampp from the VM mounted locally.然后 ls ,您将从本地安装的 VM 中找到整个 lampp。
I found out that the NEW xampp has file explorer link on it click it and boooooooooom htdocs is there我发现 NEW xampp 上有文件资源管理器链接,单击它,boooooooooom htdocs 就在那里
/Applications/XAMPP/xamppfiles
That's where you will find htdocs .那就是您可以找到htdocs的地方。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.