|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-05-29 12:34 UTC] bla at cs dot huji dot ac dot il
Description:
------------
When I run this command:
session_save_path("/var/spool/sessions");
I get:
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().
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 11:00:01 2025 UTC |
>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: session_save_path("/var/spool/sessions/"); ?