Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Session] Session storage path does not get set. #16898

Copy link
Copy link
Closed
@Richard87

Description

@Richard87
Issue body actions

Hi!

It 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.

This lines solves the problem temporarily:
session_save_path(__DIR__ . "/../var/session"); in app.php and app_dev.php

I got the exception when authenticating because Apache dosn't have write access to the default PHP session storage path.

I'm running Symfony 3.0.0 with PHP 7.0.0.

The project that I noticed the issue on:
https://bitbucket.org/Richardh87/messenger

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.