Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
New ccgi site - session save path?
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- New ccgi site - session save path?
New ccgi site - session save path?
17-03-2010 3:04 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi,
Is the "session.save_path" really /var/lib/php5 as stated in PHPInfo? Shouldn't it be somewhere like /tmp? I know it can be redirected by a local php.ini but I've never had an issue before the upgrade.
Stuart
Is the "session.save_path" really /var/lib/php5 as stated in PHPInfo? Shouldn't it be somewhere like /tmp? I know it can be redirected by a local php.ini but I've never had an issue before the upgrade.
Stuart
Message 1 of 6
(1,055 Views)
5 REPLIES 5
Re: New ccgi site - session save path?
17-03-2010 3:38 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
That's a good point, looks like we missed that one. We'll look in to it.
Message 2 of 6
(334 Views)
Re: New ccgi site - session save path?
17-03-2010 3:58 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: stuartp Is the "session.save_path" really /var/lib/php5 as stated in PHPInfo?
That's standard for Debian. It should have slightly odd permissions to guard against fishing, but "should" work.
Gabe
Message 3 of 6
(334 Views)
Re: New ccgi site - session save path?
17-03-2010 4:07 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
It would be fine on a single box, but as there's four cgi servers behind a loadbalancer you would get unexpected results using that on our platform. /tmp is shared across all the boxes so that's a much better place for it.
Message 4 of 6
(334 Views)
Re: New ccgi site - session save path?
17-03-2010 4:40 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: Ben It would be fine on a single box
It would be fine if it was shared, but if it isn't then that explains it. Sessions now world readable in tmp. Hey ho.
Gabe
Message 5 of 6
(334 Views)
Re: New ccgi site - session save path?
17-03-2010 4:54 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
They shouldn't be world readable, they will be group readable, which is similar on this platform as everyone's in the same group. I'd recommend people set it specifically, but having it in /tmp will work. Platforms with so many different users on are always challenging to lock down without killing too much functionality.
Message 6 of 6
(334 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- New ccgi site - session save path?