Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th February 2013, 18:25
darkangel darkangel is offline
Member
 
Join Date: May 2011
Location: Cape Town, South Africa
Posts: 53
Thanks: 6
Thanked 2 Times in 2 Posts
Default How to share PHP sessions with PHP-FPM?

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 http://www.howtoforge.com/forums/showthread.php?t=53392)

How would this be done when using PHP-FPM?
Reply With Quote
Sponsored Links
  #2  
Old 27th February 2013, 22:37
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,475
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Why dont you use a shared session storag in your scripts like mysql or memcache?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th February 2013, 23:10
darkangel darkangel is offline
Member
 
Join Date: May 2011
Location: Cape Town, South Africa
Posts: 53
Thanks: 6
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by till View Post
Why dont you use a shared session storag in your scripts like mysql or memcache?
It's just a temporary solution.

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

Thanks.
Reply With Quote
  #4  
Old 28th February 2013, 11:13
darkangel darkangel is offline
Member
 
Join Date: May 2011
Location: Cape Town, South Africa
Posts: 53
Thanks: 6
Thanked 2 Times in 2 Posts
 
Default

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. :-)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Only Problems since Updating from 3.0.3.3 to 3.0.4.1 mbay General 4 17th May 2012 12:56
ubuntu and nginx delgado2061 Installation/Configuration 0 27th November 2011 23:36
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 21:13
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 19:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.