Re: Strange Session Errors
| From: | Ricky Dhatt | Date: | Wed, 19 Jun 2002 21:54:55 +0000 |
| Subject: | Re: Strange Session Errors | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103026@lists.php.net to get a copy of this message | ||
Perhaps I was unclear with my messsage: session.save_path is *already* set,
to the *correct* path, which *is* /tmp. These warnings started when I
upgraded, nothing with my /tmp dir has changed.
"Snehal P" <snehoo@indiatimes.com> wrote in message
news:20020619051743.94797.qmail@pb1.pair.com...
> Ricky u need to change the session.save_path in the setings file to the
> actual physical path where u would want to store cookie values.
>
>
> "Ricky Dhatt" <ricky@electricarrow.com> wrote in message
> news:20020617190228.43820.qmail@pb1.pair.com...
> > After upgrading to PHP 4.2.1 on my Linux 2.2.14 box, I've started to
> receive
> > this error by the hundreds in my logs:
> >
> > Jun 17 11:37:35 www httpd: PHP Warning: Failed to write session data
> > (files). Please verify that the current sett
> > ing of session.save_path is correct (/tmp) in Unknown on line 0
> >
> > Now these errors did not appear with PHP 4.0.6. Now I know that
sessions
> > are still working since I registered some values and found them by
> grepping
> > /tmp. And most of my PHP sites would not be working if sessions weren't
> > working. And yes, I've checked that:
> >
> > -The apache user has permission to read/write to /tmp
> > -There is enough space on my partition.
> >
> > I've done some searching and found a few other Linux users with the same
> > problem, so I'm wondering if this is a PHP bug...but I'm not sure.
> >
> > Thanks,
> > Ricky
> >
> >
>
>