Where to find htdocs on XAMPP Mac

I can not find the htdocs directory in XAMPP for Mac.

Many YouTube videos show that people just click the button that says "Go to application folder", but in my user interface it says: "Go to application", which simply opens the local host page at http: // localhost .

Where can I find the htdocs directory?

+33
source share
14 answers

Ok, I just found a solution. On the "Volume" tab, you must first mount it. Then it appears on the desktop as if there was an external USB. All data inside it. : D

+76
source

At least for macbook (os high sierra) go to terminal and type or copy and paste:

cd ~/.bitnami/stackman/machines/xampp/volumes/root/htdocs 
+16
source

Open the xampp app, then do the following:

  1. go to: volumes,

  2. click the [mount] button and

  3. finally click explore.

+13
source

you installed Xampp-VM (VirtualMachine), just install one of the β€œnormal” installations, and everything works fine.

+7
source

Click volumes, then explore, and then to open the lamp that has htdocs in it.

+3
source

for each simple and useful access, you can add a terminal command by editing your bash profile, here's how:

open a terminal β†’ type cd press Enter. then type nano.bash_profile then add this line alias htdocs="cd ~/.bitnami/stackman/machines/xampp/volumes/root/htdocs" Now press ctrl + o then press Enter, then press ctrl + x Now to update the terminal Commands enter the following command

source.bash_profile

Now you can use the htdocs command every time you want to go to the htdocs folder.

+2
source

In the XAMPP application window (manager-osx), click => Open application folder >> htdocs

Now you have opened the target folder.

You can see the process in the image below.

XAMPP application window (manager-osx)

Open application folder

Application folder open (xamppfiles)

Click on "htdocs"

Your destination htdocs folder is open

Now start your development

+2
source

Make sure that other Apache servers are not running, because when you try to access it in the browser, even with a different port, an error occurs. Go to the Finder and under the device you will see the lampp icon. You can also open htdocs from any ide or code editor by opening files or a project as soon as you find the lampp icon. Make sure you mount the stack.

+1
source

One way is open Finder>Applications>XAMPP(FolderNotTheInstaller)>htdocs

Another way is cmd+space and find manager-osx , go to Welcome and click Open Application Folder . enter image description here

+1
source

Just like ...

From user interface

  • Click Go->Go to Folder then /Applications/XAMPP/htdocs

From terminal

 cd /Applications/XAMPP/htdocs 
0
source

Click on the Volume tab and click on the Install button. Then click the Explore button to view the folder.

0
source

I used this line to find and edit permissions under xampp:

 chmod 777 ~/.bitnami/stackman/machines/xampp/volumes/root/htdocs/folder 
0
source

For me it was in

 /Users/your username/.bitnami/stackman/machines/xamp 

I am using Mac Os Mojave 10.14.5

0
source

From the Finder menu, select Go-> Go to Folder. Enter / Applications / XAMPP

-1
source

Source: https://habr.com/ru/post/1270604/


All Articles