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

Add support for php.ini variables containing special chars #36

Closed
nguyenk opened this issue May 28, 2018 · 0 comments
Closed

Add support for php.ini variables containing special chars #36

nguyenk opened this issue May 28, 2018 · 0 comments
Assignees

Comments

@nguyenk
Copy link
Member

nguyenk commented May 28, 2018

My php container that connects to redis (with password)

api:
    image: thecodingmachine/php:7.1-v1-apache
    ...
    environment:
      ...
      PHP_INI_SESSION__SAVE_HANDLER: redis
      PHP_INI_SESSION__SAVE_PATH: "tcp://redis:6379?auth=123"

When I try to access redis session store, I get the following error :
session_start(): open(tcp://redis:6379?auth/sess_p6rqfk7phj43d477k37d3iecb4, O_RDWR) failed: No such file or directory

It seems that the the variable has been stripped after the equal sign.

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