How to share PHP sessions with PHP-FPM?

Discussion in 'Installation/Configuration' started by darkangel, Feb 27, 2013.

  1. darkangel

    darkangel New Member

    In order to share sessions between two sites using Fast-CGI, I had to edit their .php-fcgi-starter files and add "umask 0002" (I also had to remove "-d session.save_path=/var/www/clients/clientX/webX/tmp \" from one of the sites). (see

    How would this be done when using PHP-FPM?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Why dont you use a shared session storag in your scripts like mysql or memcache?
  3. darkangel

    darkangel New Member

    It's just a temporary solution.

    Actually I might look into using memcached, because there are other benefits (namely speed).

  4. darkangel

    darkangel New Member

    On second thought, I'd prefer not to use memcached right now, as it's not a simple solution (see issues here).

    So my question remains. :)

Share This Page