Re: session.save_path

From: Date: Thu, 23 May 2002 07:38:59 +0000
Subject: Re: session.save_path
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-98878@lists.php.net to get a copy of this message
thx John. That did the trick for me! regards Wilbert ----- Original Message ----- From: "1LT John W. Holmes" <holmes072000@charter.net> To: "Wilbert Enserink" <wilbert@pdd.nl>; <php-general@lists.php.net> Sent: Wednesday, May 22, 2002 8:18 PM Subject: Re: [PHP] session.save_path > 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 > ------------------------- ------------------------- Pas de Deux Van Mierisstraat 25 2526 NM Den Haag tel 070 4450855 fax 070 4450852 http://www.pdd.nl info@pdd.nl -------------------------

« previous php.general (#98878) next »