Skip to content

do not close the php session #56

Answered by ckulka
Dantyk asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Dantyk ,

following https://stackoverflow.com/questions/654310/cleanup-php-session-files, it looks like this session behaviour can/should be fine-tuned in a php.ini file.

If I were to do it on my server, I would

  1. create a new session-config.ini file
  2. add the parameters from https://www.php.net/manual/en/session.configuration.php
  3. mount it inside the container at /usr/local/etc/php/conf.d/session-config.ini

I'm not familiar enough with PHP to give advice on which session settings make sense, but the Baikal maintainers/community at https://github.com/sabre-io/Baikal might be able to help.

That all said, if you want to stick with deleting the files (which may cause issues if you delete fil…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ckulka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #48 on January 13, 2022 18:35.