symfony Warning: SessionHandler::read(/Application

2019-09-05 06:50发布

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.

1条回答
Evening l夕情丶
2楼-- · 2019-09-05 07:31

This finally worked:

sudo chown -R myusername x/y/z

Is there a better solution?


Note: use whoami (deprecated) or id to get your username.

$ whoami
myusername
查看更多
登录 后发表回答