1 |
My script uses sessions, and as a result each script begins with |
2 |
session_start(); right after the opening <? . Now I'm getting these: |
3 |
|
4 |
This is the info page. There's nothing here yet. |
5 |
Warning: Unknown: open(/tmp/sess_c2795262928933c671af3a6015ff80fe, |
6 |
O_RDWR) failed: Permission denied (13) in Unknown on line 0 |
7 |
|
8 |
Warning: Unknown: Failed to write session data (files). Please verify |
9 |
that the current setting of session.save_path is correct (/tmp) in |
10 |
Unknown on line 0 |
11 |
|
12 |
I looked up /tmp/sess_c2795262928933c671af3a6015ff80fe: |
13 |
|
14 |
bullet ~ # ls -l /tmp/sess_c2795262928933c671af3a6015ff80fe |
15 |
-rw------- 1 apache apache 459 Sep 21 |
16 |
19:49 /tmp/sess_c2795262928933c671af3a6015ff80fe |
17 |
|
18 |
Because I'm using mod_suphp and the executing script is located at |
19 |
http://www.espersunited.com/~festival/login.php , shouldn't the file be |
20 |
owned by festival? I checked session.save_path in every php.ini file I |
21 |
have on the system to make sure that session.save_path was indeed set |
22 |
to /tmp; it was. Any hints on how to fix this? |
23 |
|
24 |
-- |
25 |
gentoo-user@g.o mailing list |