问题
I have installed XAMPP for macOS Sierra.
I have one icon in application for XAMPP.
I am able to run the server & it's services but I am not able to find the htdocs
folder.
I have not found it under \Library\Webserver
回答1:
I was able to find the htdocs directory. On mac,Under volume tab there is button called 'explore' from there there is the directory.
回答2:
Just found out that XAMPP nfs mounts on MacOS are located in following path:
/Users/my_name/.bitnami/stackman/machines/xampp/volumes/root/htdocs
回答3:
The new version of XAMPP uses a VM for its content, you need to mount the Volume to access htdocs.
More info about differences between old XAMPP and XAMPP-VM: XAMPP-VM for Mac
回答4:
In other to locate the right and active htdocs
directory of your XAMPP for macOS Sierra, follow the three steps below;
- Launch your XAMPP and click on the "Start" button,
- Wait for the Status indicator bubble to change from the orange colour to green, then click on the "Volumes" tab (between the "Network" and "Log" tabs),
- Proceed to click on the "Mount", then "Explore" button;
From the resulting window, you can easily locate your htdocs
folder.
More details available here.
回答5:
Delete the xampp.app, download the new one(I use 5.6.31 php ver) then reinstall it.
回答6:
/Applications/XAMPP/xamppfiles
That's where you will find htdocs.
回答7:
I found out that the NEW xampp has file explorer link on it click it and boooooooooom htdocs is there
来源:https://stackoverflow.com/questions/44989243/unable-to-find-htdocs-on-xampp