I am just playing around (getting started) with yii-demo
/path/to/yii-demo$ ./vendor/bin/yii serve
When I visit the browser http://localhost:8080/
I am facing
Yiisoft\Session\SessionException
Failed to start session.
↵
Caused by: Yiisoft\ErrorHandler\ErrorException
session_start(): open(/var/lib/php/sessions/sess_pu15kbejse8125i7sil6utcg3j3lqv6h9an935c6v43ivkrn, O_RDWR) failed: Permission denied (13)
in /path/to/yii-demo/vendor/yiisoft/session/src/Session.php at line 85
vendor/yiisoft/session/src/Session.php -> line 88
What is the solution?