Docker PHP:FPM 7.2 can't set session.save_handler, it always default to "files"


I'm currently trying to update the"session.save_handler = files" and"session.save_path = null" to my own values but they always default to files.

In my case I have setup the php redis extensions and I would like to setup to"session.save_handler = redis" and"session.save_path = https://rediserver:6375", however, after updating the config files either updating directly on /usr/local/etc/php-fpm.d/www.conf or adding an extra .conf file to /usr/local/etc/php-fpm.d/session.conf and restarting php-fpm with "kill -USR2 1" the values are not updated when I check usingphp-info(); function.

Any idea what might be happing ? I'm using docker image php:7.2-fpm .





I found the issue, I was using supervisorD to load my php-fpm therefore the command kill -USR2 1 wasn't making any effect to reload the php changes. The solution was to kill manually my php-fpm process and make supervisord start again with '"supervisorctl restart [task name]"'

People are also looking for solutions to the problem: php - Output SQL table with


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.