Skip to content

PhpRedis Session handler #1

@bcremer

Description

@bcremer

Hi @b3nl, thanks for this project. It might help a few people 👍

Are you aware of the PhpRedis PHP Extension? It contains a native PHP Session handler that can be used in shopware without any modifications in the core, just by configuring it in the usual config.php:

// config.php
<?php
return array(
    'db' => array(...),
    'session' => array(
        'save_handler' => 'redis'
        'save_path' => 'tcp://host1:6379?weight=1, tcp://host2:6379?weight=2&timeout=2.5'
    ),
);

I would be nice if you would mention this in the README.md so people have an alternative.

Using services_local.xml is not really a core modification but a undocumented feature that will most probably be removed once we have a plugin system in place that allows direct container manipulation.

Greetings,
Benjamin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions