RE: [PHP-WIN] PHP 4.05, IIS5 and session...

From: Date: Fri, 04 May 2001 17:36:35 +0000
Subject: RE: [PHP-WIN] PHP 4.05, IIS5 and session...
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-7286@lists.php.net to get a copy of this message
I have tried c:\temp, c:\php\temp, c:\inetpub\wwwroot\cgi-temp all with the same result and same error code. It would appear that no matter what I set the session save dir to, it does not take effect. BTW, all of those directories have read/write/create permissions set. Shawn -----Original Message----- From: Flint Doungchak [mailto:Flint@netsolutionsllc.com] Sent: Friday, May 04, 2001 1:09 PM To: 'Shawn Anderson' Subject: RE: [PHP-WIN] PHP 4.05, IIS5 and session... Shawn, Have your tried define something like: C:\stupiddir to see if the ini file is being read correctly? -Flint -----Original Message----- From: Shawn Anderson [mailto:sanderson@eye-catcher.com] Sent: Friday, May 04, 2001 10:05 AM To: Flint Doungchak; php-windows@lists.php.net Subject: RE: [PHP-WIN] PHP 4.05, IIS5 and session... Hmm, I have actually tried both and neither seems to have any effect at all. No matter what I set session.save_path to, it always creates the files in c:\tmp -- very strange :) -Shawn -----Original Message----- From: Flint Doungchak [mailto:Flint@netsolutionsllc.com] Sent: Friday, May 04, 2001 1:04 PM To: 'Shawn Anderson'; php-windows@lists.php.net Subject: RE: [PHP-WIN] PHP 4.05, IIS5 and session... Shawn, You php.ini file should have something like: ; Argument passed to save_handler. In the case of files, this is the path ; where data files are stored. session.save_path = C:\temp where C:\temp exists and I_USER_machinename has read/write permissions. It looks like you may have defined the directory as: C:/temp which I don't think works. -Flint -----Original Message----- From: Shawn Anderson [mailto:sanderson@eye-catcher.com] Sent: Friday, May 04, 2001 9:49 AM To: php-windows@lists.php.net Subject: [PHP-WIN] PHP 4.05, IIS5 and session... Hi there, I am a little new to the whole PHP world and have started playing with it recently. I am trying to get the session thing working but I keep getting the following error: Warning: open(/tmp\sess_2cd53ab5183707a5629c02a5ad9da129, O_RDWR) failed: m (2) in and I don't know why. I have set read/write permissions on the directory that the sessions are stored in, and I have even tried changing this directory (which does not seem to work). Can anyone suggest anything? Shawn -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#7286) next »