{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/16898","labels_url":"https://api.github.com/repos/symfony/symfony/issues/16898/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/16898/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/16898/events","html_url":"https://github.com/symfony/symfony/issues/16898","id":120965335,"number":16898,"title":"[Session] Session storage path does not get set.","user":{"login":"Richard87","id":5749715,"avatar_url":"https://avatars.githubusercontent.com/u/5749715?v=3","gravatar_id":"","url":"https://api.github.com/users/Richard87","html_url":"https://github.com/Richard87","followers_url":"https://api.github.com/users/Richard87/followers","following_url":"https://api.github.com/users/Richard87/following{/other_user}","gists_url":"https://api.github.com/users/Richard87/gists{/gist_id}","starred_url":"https://api.github.com/users/Richard87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Richard87/subscriptions","organizations_url":"https://api.github.com/users/Richard87/orgs","repos_url":"https://api.github.com/users/Richard87/repos","events_url":"https://api.github.com/users/Richard87/events{/privacy}","received_events_url":"https://api.github.com/users/Richard87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-08T09:12:49Z","updated_at":"2015-12-08T14:00:26Z","closed_at":null,"body":"Hi!\r\n\r\nIt seems Symfony dosn't change the session storage path `%kernel.root_dir%/../var/sessions/%kernel.environment%`, when checking `app_dev.php/_profiler/phpinfo` it returns `/var/lib/php/session`.\r\n\r\nThis lines solves the problem temporarily:\r\n`session_save_path(__DIR__ . \"/../var/session\");` in  `app.php` and `app_dev.php`\r\n\r\nI got the exception when authenticating because Apache dosn't have write access to the default PHP session storage path.\r\n\r\n\r\nI'm running Symfony 3.0.0 with PHP  7.0.0. \r\n\r\nThe project that I noticed the issue on:\r\nhttps://bitbucket.org/Richardh87/messenger\r\n"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/162887496","html_url":"https://github.com/symfony/symfony/issues/16898#issuecomment-162887496","issue_url":"https://api.github.com/repos/symfony/symfony/issues/16898","id":162887496,"user":{"login":"Richard87","id":5749715,"avatar_url":"https://avatars.githubusercontent.com/u/5749715?v=3","gravatar_id":"","url":"https://api.github.com/users/Richard87","html_url":"https://github.com/Richard87","followers_url":"https://api.github.com/users/Richard87/followers","following_url":"https://api.github.com/users/Richard87/following{/other_user}","gists_url":"https://api.github.com/users/Richard87/gists{/gist_id}","starred_url":"https://api.github.com/users/Richard87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Richard87/subscriptions","organizations_url":"https://api.github.com/users/Richard87/orgs","repos_url":"https://api.github.com/users/Richard87/repos","events_url":"https://api.github.com/users/Richard87/events{/privacy}","received_events_url":"https://api.github.com/users/Richard87/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T14:00:26Z","updated_at":"2015-12-08T14:00:26Z","body":"that fix solved my problems :)"}}