Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[Session] Add docs to define redis session handler via php.ini directly#17399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
javiereguiluz merged 1 commit intosymfony:4.4fromalexander-schranz:patch-1
Oct 26, 2022
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletionssession/database.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -17,6 +17,17 @@ Store Sessions in a key-value Database (Redis)
This section assumes that you have a fully-working Redis server and have also
installed and configured the `phpredis extension`_.

Via the redis extension it is possible to configure redis as a session handler
directly in the servers ``php.ini`` file.

.. code-block:: ini

; php.ini
session.save_handler = redis
session.save_path = "tcp://192.168.0.178:6379?auth=REDIS_PASSWORD"

Alternative you can configure it in the Symfony application.

First, define a Symfony service for the connection to the Redis server:

.. configuration-block::
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp