Re: session.save_path
| From: | 1LT John W. Holmes | Date: | Wed, 22 May 2002 18:18:00 +0000 |
| Subject: | Re: session.save_path | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98787@lists.php.net to get a copy of this message | ||
You have to set the session.save_path to a path on your machine that PHP can
write session files to. You can make a temp folder in your C: drive and then
set the path to c:/temp or c:\\temp or create and set it to any other folder
you want. Make sure (if you're using NTFS) that user IUSR_<computer_name>
has permission to read/write to the directory you specify.
---John Holmes...
----- Original Message -----
From: "Wilbert Enserink" <wilbert@pdd.nl>
To: <php-general@lists.php.net>
Sent: Wednesday, May 22, 2002 12:09 PM
Subject: [PHP] session.save_path
Hi all,
I'm trying to install php/apache with phptriad. This worked fine,
however when I'm using session variables the thing goes nuts:
Warning: open(/tmp\sess_d22b57336449f89ad54b974794dd53f4, O_RDWR) failed: m
(2) in C:\apache\htdocs\dm\wwwtest\phpincludes\session\session.php on line 2
Warning: open(/tmp\sess_d22b57336449f89ad54b974794dd53f4, O_RDWR) failed: m
(2) 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
------------------
This is how my phpinfo() sees it:
session.save_handler
files files
session.save_path
/tmp /tmp
session.serialize_handler
php php
session.use_cookies
On On
Does anybody have any idea what to do. Should I adjust php.ini?? And where
should this directory "/tmp " be located?? cause it's not on my harddisk-->
so this might be the error. (i'm on winXP BTW)
well, thx for all info!
regards Wilbert
-------------------------
Pas de Deux
Van Mierisstraat 25
2526 NM Den Haag
tel 070 4450855
fax 070 4450852
http://www.pdd.nl
info@pdd.nl
-------------------------