wplib-box icon indicating copy to clipboard operation
wplib-box copied to clipboard

getcwd() in PHP returns /var/www instead of /projects/wplib.box/www [0.17.3]

Open mikeschinkel opened this issue 7 years ago • 1 comments

So if I run getcwd() in PHP returns it returns /www/var instead of the expected /projects/wplib.box.

I assume this is because rather than change the configuration to use /projects/wplib.box/www you just symlinked? Let's discuss the pros and cons of this and possible make a change.

Also, I have not been able to find a way to access files in the project directory such as '/projects/wplib.box/HOSTNAME'. I tried accessing via /vagrant for short term sake but it seems we have disabled that?

mikeschinkel avatar Jul 31 '18 16:07 mikeschinkel

/var/www is actually the mount-point within all the containers. We can't reasonably move to /projects/wplib.box for 0.17.1. So I've punted this to later.

MickMake avatar Aug 03 '18 04:08 MickMake