How can I access XAMPP/Lampp folder via Terminal on Mac

前端 未结 7 965
小蘑菇
小蘑菇 2021-02-09 18:50

I recently started using XAMPP on Mac and it installed the \"lampp\" folder under \"Shared\" and showing as an IP address in Finder. So I can access the files via Finder but I\'

相关标签:
7条回答
  • 2021-02-09 19:08

    In case you do not remember the path of the "htdocs" folder, you could type ls -a (ls stands for list) and see even hidden folders and files.

    ".bitnami" is one of those (inside the user folder) and then follow the path down to "htdocs".

    All the other folders, already pointed out by @uriplata in the above answer, are visible simply using the command ls each time you change folder (with command "cd").

    0 讨论(0)
  • 2021-02-09 19:12

    You have to mount the drive:

    When the drive is mounted you can see it at: .bitnami/stackman/machines/volumes/root

    If the drive is not mounted root will be empty. However, your data will still be there.

    0 讨论(0)
  • 2021-02-09 19:17

    I run in to the same problem and looked for hours for a solution. I now found this page: https://www.apachefriends.org/blog/new_xampp_20170628.html

    Since it is a VM you have to click on the Open Terminal button in the general tab of the stack manager. Then a new window opens and you can work on the terminal.

    Screenshot of the stack manager with the open Terminal option

    Screen Shot of the open Terminal window

    0 讨论(0)
  • 2021-02-09 19:18

    This the path where you can find the full path of xampp htdocs folder.

    /Users/my_name/.bitnami/stackman/machines/xampp/volumes/root/htdocs
    
    0 讨论(0)
  • 2021-02-09 19:20

    I had the same problem the route for htdocs is the following:

    cd /Users/***your_user_name***/.bitnami/stackman/machines/xampp/volumes/root/htdocs
    

    "username" only replaces that line by the name of your user

    Example, for me it would be:

    cd /Users/adanuri/.bitnami/stackman/machines/xampp/volumes/root/htdocs
    
    0 讨论(0)
  • 2021-02-09 19:27

    "Open Terminal" XAMPP management tool, see image in this link

    You only must clic in "Open Terminal" at XAMPP management tool, as you can see in the attached image.

    0 讨论(0)
提交回复
热议问题