2

When I installed the 'New XAMPP with PHP 7.2.2 & 7.1.14' and followed steps in this tutorial XAMPP-VM for Mac - tell us what you think .At this time I can see the phpmyadmin at my localhost 8080 port, however, when try to change my working directory to the lampp. I got the err no such directory in /opt? Can anyone help?

xampp lampp mount

can not found /opt/lampp

but the lampp file do existed in shared

Blake Woo
  • 33
  • 1
  • 4

3 Answers3

5

Like jayson said, clicking the button "Open Terminal" pops up a terminal that connects to the XAMPP-VM with SSH.

The folder "/opt/lampp" you are looking for is "inside" the VM, not in Mac.

Image: Terminal Screenshot

Alejandro
  • 7,290
  • 4
  • 34
  • 59
KSKhoo
  • 51
  • 2
  • 7
3

open the xampp application -> general. select the open terminal button

jayson
  • 31
  • 2
0

You can mount it yourself (replace with your local IP):

hatem@Mac:/opt$ sudo mkdir lampp
hatem@Mac:/opt$ sudo mount -t nfs -o resvport,rw 192.168.64.2:/opt/lampp /opt/lampp

Then ls and you will find the entire lampp from the VM mounted locally.

Hatem
  • 200
  • 1
  • 10