Where to find htdocs in XAMPP Mac

XamppHtdocs

Xampp Problem Overview


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?

Xampp Solutions


Solution 1 - Xampp

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 - Xampp

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

cd ~/.bitnami/stackman/machines/xampp/volumes/root/htdocs

Solution 3 - Xampp

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 4 - Xampp

Open xampp application, then do the following:

  1. go to: volumes,

  2. click the [mount] button, and

  3. finally click explore.

Solution 5 - Xampp

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 6 - Xampp

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

Solution 7 - Xampp

Click volumes, then explore, and then that should open lampp which has htdocs in it.

Solution 8 - Xampp

for each easy and useful access you can add terminal command via editing your bash profile, here how:

open terminal -> type cd hit enter. then type nano .bash_profile then add this line alias htdocs="cd ~/.bitnami/stackman/machines/xampp/volumes/root/htdocs" Now hit ctrl + o then hit enter, then hit ctrl + x Now to refresh the terminal commands type the following command

source .bash_profile

Now you can use htdocs command each time you want to navigate htdocs folder.

Solution 9 - Xampp

There are two ways to find it:

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

Another way is cmd+space and searches for manager-osx,

go to Welcome and click the Open Application Folder.

enter image description here

Solution 10 - Xampp

Simple as ...

> From the UI

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

> From Terminal

cd /Applications/XAMPP/htdocs

Solution 11 - Xampp

For me it was in

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

I am using Mac Os Mojave 10.14.5

Solution 12 - Xampp

From XAMPP Application window (manager-osx) click => Open Application Folder >> htdocs

Now you opened your target folder.

You can see process by image below

XAMPP Application window (manager-osx)

Open Application Folder

Application (xamppfiles) folder opened

Click on 'htdocs'

Your target folder 'htdocs' opened

Now begin your development

Solution 13 - Xampp

Make sure no other apache servers are running as it generates an error when you try to access it on the browser even with a different port. Go to Finder and below Device you will usually see the lampp icon. You can also open the htdocs from any of the ide or code editor by opening files or project once you locate the lampp icon. Make sure you mount the stack.

Solution 14 - Xampp

Simply click in "Go To Application Folder" enter image description here

Solution 15 - Xampp

I used this line to locate and edit the permissions under xampp:

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

Solution 16 - Xampp

The next moment I installed MAMP, can find the docks in my local.

PFA screenshot.

enter image description here

Location:

/Applications/MAMP/htdocs/

Solution 17 - Xampp

From the Finder menu, click Go->Go to Folder. Type in /Applications/XAMPP

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAngel GarciaView Question on Stackoverflow
Solution 1 - XamppDaniView Answer on Stackoverflow
Solution 2 - Xamppuser7737622View Answer on Stackoverflow
Solution 3 - Xamppshubham mishraView Answer on Stackoverflow
Solution 4 - XamppVinod ChauhanView Answer on Stackoverflow
Solution 5 - XamppSalmanView Answer on Stackoverflow
Solution 6 - XamppShubham TomarView Answer on Stackoverflow
Solution 7 - XamppDavid Shlomo HestrinView Answer on Stackoverflow
Solution 8 - XamppFares YounisView Answer on Stackoverflow
Solution 9 - XamppnoeView Answer on Stackoverflow
Solution 10 - XamppDaniel AlmeidaView Answer on Stackoverflow
Solution 11 - XamppRishikesh ChandraView Answer on Stackoverflow
Solution 12 - XamppAbhishek KumarView Answer on Stackoverflow
Solution 13 - XamppRajesh Narayana RaoView Answer on Stackoverflow
Solution 14 - XamppJoão RodriguesView Answer on Stackoverflow
Solution 15 - XamppRed MikeView Answer on Stackoverflow
Solution 16 - XamppAmitesh BhartiView Answer on Stackoverflow
Solution 17 - XamppChrisView Answer on Stackoverflow