Skip to content

PhpRedis Session handler聽#1

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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