Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to override php.ini session handler params #53

Closed
aledelgo opened this issue Mar 9, 2018 · 3 comments
Closed

how to override php.ini session handler params #53

aledelgo opened this issue Mar 9, 2018 · 3 comments

Comments

@aledelgo
Copy link

aledelgo commented Mar 9, 2018

I would like to use the following params for php.ini
where or how could i set it without branching your the entire docker stack?

session.save_handler = redis
session.save_path = "tcp://redis:6379"
@csandanov
Copy link
Member

Hmm.. it seems we don't have env vars for this atm. I guess we still haven't added because of most php frameworks handle session stores manually

@aledelgo
Copy link
Author

Well, i resolved my problem with a special Drupal Module that override this setting at Drupal bootstrap.
The module is Session Proxy if anyone need it.

@aledelgo
Copy link
Author

@csandanov your commit
wodby/php@6908101#diff-c3862bc6b526e077a849532eae36da07
made me happy and solved a lot of problems i had with SessionProxy D7 module and session-cache storage.

got it working fine updating the project with the new drupal-php image and setting env var to change the php session handler to redis.
I discovered your update casually but i'm glad you did it!
i'm updating this issue just to make it visible to anyone interested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants