Re: SESSION Not behaving II: permission denied(13)
| From: | [-^-!-%- | Date: | Sat, 18 Oct 2003 21:35:23 +0000 |
| Subject: | Re: SESSION Not behaving II: permission denied(13) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166624@lists.php.net to get a copy of this message | ||
That would be one solution, but I am on a shared hosting server. I cannot
change the folder permissions.
I've asked tech support to look into this.
Does anyone know where I can get a class that will save the session vars
to mysql?
=P e p i e D e s i g n s
www.pepiedesigns.com
Providing Solutions That Increase Productivity
Web Developement. Database. Hosting. Multimedia.
On Sat, 18 Oct 2003, Burhan Khalid wrote:
> [-^-!-%- 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
> > 0
>
> First 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
>