R: [PHP-WIN] Session errors....
| From: | Alberto. Sartori | Date: | Thu, 28 Mar 2002 07:30:57 +0000 |
| Subject: | R: [PHP-WIN] Session errors.... | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-12798@lists.php.net to get a copy of this message | ||
Check if you have the correct permissions on that folder (write)
-----Messaggio originale-----
Da: Piotr Pluciennik [mailto:ppluciennik@yahoo.com]
Inviato: giovedì 28 marzo 2002 8.15
A: php-windows@lists.php.net
Oggetto: 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