|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40464 Session.save_path wont use default-value
Submitted: 2007-02-13 15:39 UTC Modified: 2007-03-01 00:01 UTC
From: benni at gniza dot org Assigned: iliaa (profile)
Status: Closed Package: *Configuration Issues
PHP Version: 5.2.1 OS: SuSE 9.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: benni at gniza dot org
New email:
PHP Version: OS:


 [2007-02-13 15:39 UTC] benni at gniza dot org
I can approve the behavior of BUG-ID 40434

Sessions won't work without setting a session.save_path explicitly! If you just comment the session.save_path-line you get the error:

SAFE MODE Restriction in effect. The script whose uid is XZY is not allowed to access owned by uid 0 in [Scriptname:Line of session_start()]

This behavior is either a bug or the manual is wrong.

Quote from the manual:
session.save_path defines [...]. Defaults to /tmp. 

If I explicitly set the save_path (to /tmp or somewhere else) all is okay!

Greetings Benjamin


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-01 00:01 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 22 23:01:29 2024 UTC