Skip to content

PHP sessions setup as Redis vs. file #66

@dspruell

Description

@dspruell

The default PHP setup for session storage appears to cause problems in terms of session timeouts in some configurations, and the MISP project's recommendation appears to be to configure PHP to use Redis as the session store. This appears to be referenced in the documentation for the Session.defaults setting in MISP:

The recommended option is php and setting your PHP up to use redis sessions via your php.ini. Just add "session.save_path = 'tcp://localhost:6379'"

Also on this Gitter thread, the guidance is given in response to inquiry about unexpected timeout behavior:

https://gitter.im/MISP/Support?at=60495fe1d1aee44e2dda4b46

session.save_handler = redis
session.save_path = 'tcp://localhost:6379'

This appears to be missing from install documents today, but I'm asking about that. Could this change be made to the docker-misp image?

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