go to bug id or search bugs for
When I run this command:
session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 24713 is not allowed to access /var/spool
The information in the message is correct but I suppose the function should check /var/spool/sessions, not /var/spool. (note that /var/spool/session exists and has the right permissions so there's no need to modify /var/spool).
Probably the OnUpdateSaveDir() function in session.c should give a different flag to php_checkuid().
Add a Patch
Add a Pull Request
>Note that /var/spool/session exists and has the right
> permissions so there's no need to modify /var/spool).
/var/spool/session or /var/spool/sessions ?
What if try this:
This is the 3rd time I write this reply, it keeps disappearing after I submit it. Anyway:
Appending a '/' to the path fixes the problem, thanks.
However it should work even without a trailing '/' just like any other path related setting.
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.