RE: [PHP-WIN] Session errors....
| From: | Martin.Andrew | Date: | Thu, 28 Mar 2002 07:49:53 +0000 |
| Subject: | RE: [PHP-WIN] Session errors.... | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-12799@lists.php.net to get a copy of this message | ||
That does the trick, I must have changed this (long) before as it was
looking for a directory that no longer exists!
Thanks.
-----Original Message-----
From: Piotr Pluciennik [mailto:ppluciennik@yahoo.com]
Sent: 28 March 2002 08:15
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] Session errors....
Hi,
PHP cannot save session information to your disk. As
described in error message you probably haven't
defined correct path to session directory (it's
different on linux and windows)... or not set rights
to it. So check php.ini "session.save_path" and
properties of that directory.
For example:
session.save_path = c:\sessions
HTH
Piotr
--- "Martin.Andrew" <Martin.Andrew@kpmg-ct.com> wrote:
> Quick Question...
>
> I am registering a session with the session_start(),
> session_register()
> functions,
> when I do it on our test server (UNIX, Apache) I
> have no problems, locally
> (Win2K, Apache) I get the follwoing error
>
> Warning:
> open(/tmp\sess_0ac1a7836d05713e245d299b54528e64,
> O_RDWR) failed: m
> (2) in d:\projects\shop\cart.inc on line 5
>
> I have checked the php.ini thinking it's a
> configuration problem but both
> are identical, concerning session details anyway!
> Could it be an apache configuration issue?
> Anyone got any ides?
> Thanks.
>
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php