PHP session permission problem
Posted
by Daniel
on Stack Overflow
See other posts from Stack Overflow
or by Daniel
Published on 2010-01-13T17:53:28Z
Indexed on
2010/03/31
0:43 UTC
Read the original article
Hit count: 329
Hi
I'm trying to initialize a session but i get this error:
Warning: session_start() [function.session-start]: open(/tmp/sess_7af3ee9ec1350680bedcf63833d160bd, O_RDWR) failed: Permission denied (13)
The session.path is set to /tmp with 777 perms.
I try to edit the session.path to "0;777;/tmp" but the session files are created with the wrong permissions(only write).
I'm using PHP 5.2 on apache2 and ubuntu 9.10. Any ideas?
© Stack Overflow or respective owner