@RonniSkansing Look, I have nginx server running with php-fpm by user admin, and I want to start mywebsocket server via php run-server.php But to start websocket I had to have root privileges so that I could open sockets on server The problem that I want to access session which was created by admin user In Websocket server I have the $session_id so I can do session_id($session); to get session data, but unfortunately the session file owned by admin and websocket server (php instance) cant access that file ( as websocket run by root)