public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-user] OT - Need help with PHP 2.0
@ 2006-09-22  1:10 99% Michael Sullivan
  0 siblings, 0 replies; 1+ results
From: Michael Sullivan @ 2006-09-22  1:10 UTC (permalink / raw
  To: gentoo-user

My script uses sessions, and as a result each script begins with
session_start(); right after the opening <? .  Now I'm getting these:

This is the info page. There's nothing here yet. 
Warning: Unknown: open(/tmp/sess_c2795262928933c671af3a6015ff80fe,
O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify
that the current setting of session.save_path is correct (/tmp) in
Unknown on line 0

I looked up /tmp/sess_c2795262928933c671af3a6015ff80fe:

bullet ~ # ls -l /tmp/sess_c2795262928933c671af3a6015ff80fe
-rw------- 1 apache apache 459 Sep 21
19:49 /tmp/sess_c2795262928933c671af3a6015ff80fe

Because I'm using mod_suphp and the executing script is located at
http://www.espersunited.com/~festival/login.php , shouldn't the file be
owned by festival?  I checked session.save_path in every php.ini file I
have on the system to make sure that session.save_path was indeed set
to /tmp; it was.  Any hints on how to fix this?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2006-09-22  1:10 99% [gentoo-user] OT - Need help with PHP 2.0 Michael Sullivan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox