Re: SESSION Not behaving II: permission denied(13)
| From: | Burhan Khalid | Date: | Sat, 18 Oct 2003 12:44:31 +0000 |
| Subject: | Re: SESSION Not behaving II: permission denied(13) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166615@lists.php.net to get a copy of this message | ||
[-^-!-%- wrote:
Yep. It's me again. 96 hours into the battle, and SESSIONS are still winning. I've written my login script and is now getting the following error. Please advise. Warning: open(/tmp/sess_a690c089dead297c95034d9fe243f860, O_RDWR) failed: Permission denied (13) in Unknown on line 0 Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0First thing, make sure /tmp exists. If it does, make sure that the apache user has permissions to write to it. You can modify its permissions so that the apache user and/or group can write to /tmp; or you can chmod it to 777 (which could lead to other security issues). This should get rid of your warnings. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com