Where to find htdocs in XAMPP Mac

192,901

Solution 1

In the "volumes" tab, you have to mount it first. Then it appears on the desktop as if it were an external USB. All the data is inside it. :D

Solution 2

I have installed XAMPP version 7.3.11, After starting the Apache and other services, go to volumes tab on XAMPP, and click on mount button,

Mount

And then Click on explore button,

Explore

You will get Finder open up with this,

Xampp

Solution 3

Open xampp application, then do the following:

  1. go to: volumes,

  2. click the [mount] button, and

  3. finally click explore.

Solution 4

Go to Volumes Tab and click Mount

enter image description here

You can find it under Locations in the Sidebar. Click on it.

enter image description here

Open this folder: Lamp

enter image description here

You can find the htdocs folder inside Lamp, just like the below screenshot:

enter image description here

Note: I am using macOS Catalina.

Solution 5

you installed Xampp-VM (VirtualMachine), simply instead install one of the "normal" installations and everything runs fine.

Share:
192,901
Angel Garcia
Author by

Angel Garcia

I'm a Ruby on Rails developer with professional experience. I have experience with some frontend web technologies (jQuery, SASS, React, etc). I'm also an iOS Developer.

Updated on July 05, 2022

Comments

  • Angel Garcia
    Angel Garcia almost 2 years

    I cannot find the htdocs directory anywhere on XAMPP for Mac.

    Many videos on YouTube show people just clicking a button that says "Go to application folder" but on my user interface, it reads: "Go to application" which just opens the localhost page at http://localhost.

    Where can I locate the htdocs directory?

  • Angel Garcia
    Angel Garcia almost 7 years
    That only took me to my applications folder. Sadly. Maybe i should try going to the htdocs folder? I tried but it said it didnt exist.
  • N1mr0d
    N1mr0d over 6 years
    how do you increase the size of that volume?
  • DragonFire
    DragonFire about 5 years
    This is the correct answer, it should be on the top.. sadly it is downvoted.
  • Stephen Ngethe
    Stephen Ngethe almost 5 years
    this worked for me this "normal xampp" can be gotten here apachefriends.org/download.html
  • Saurabh Mistry
    Saurabh Mistry almost 5 years
    bash: cd: /Applications/XAMPP/htdocs: No such file or directory
  • Iulius Curt
    Iulius Curt about 4 years
    The mounted volume really messes with the file watchers (e.g. for SCSS compilation). I wish there were a direct path
  • Rahul Soni
    Rahul Soni about 4 years
    even I have htdocs over there. can it be moved to a more simplified url?
  • Sam Bruton Developer
    Sam Bruton Developer over 3 years
    this is no longer an option
  • DragonFire
    DragonFire about 3 years
    For filezilla : /Users/my_name/.bitnami/stackman/machines/xampp/volumes/root‌​/htdocs see here : stackoverflow.com/a/48272238/3904109