Debian/Nginx/PHP-FPM Sessions in Memcached

  • Posted November 3, 2014


i want to save the sessions in memcached on my debian server / nginx. I have updated our php.ini file /etc/php5/fpm/php.ini

session.save_handler = memcached;
session.save_path = "tcp://"

But in phpinfo() session.save_path still stay /var/lib/php5 after nginx/php-fpm reload.

pp: the save_handler is successfully updated: session.save_handler:memcached

More Info: PHP Version 5.4.4-14+deb7u14

Can you guys help me? Thanks a lot !

  • V

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

i found the problem:

Additional .ini files parsed : /etc/php5/fpm/conf.d/000-session-store-default.ini

and the config was in the ini file.


Try restating php5-fpm instead of reloading. Does that fix it?