Installed Symfony. Ran php app/console server:run
. At localhost:8000
I get the following error: symfony Warning: SessionHandler::read(x/y/z): open failed Permission denied
.
This question just points to the symfony docs which I tried unsuccessfully.
This finally worked:
sudo chown -R myusername x/y/z
Is there a better solution?
Note: use
whoami
(deprecated) orid
to get your username.