Re: [PHP] Problem starting session
Make sure it is: \tmp in the ini file. That way you don't have to mess with a drive letter. - Original Message - From: "Jonathan Sharp" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 20, 2001 7:57 PM Subject: Re: [PHP] Problem starting session > Check your php.ini file, you should set the temp dir setting to semething > like C:\tmp and make sure that C:\tmp exists and that whatever user your > site is running as in IIS is set to have read/write access... > > /tmp\sess is for unix...it's not a valid path (/tmp is what is > defined as the temp dir in php.ini) > > -js > > - Original Message - > From: "Chris Lee" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, June 20, 2001 11:58 AM > Subject: Re: [PHP] Problem starting session > > > > does the dir exist ? I dont use win2k for php so im guessing. win2k also > has > > some sort of permissions doesnt it ? does the dir have to have the same > > perms that the server does ? linux needs this to be true. > > > > -- > > > > Chris Lee > > [EMAIL PROTECTED] > > > > > > "Ben Edwards" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > I am getting the following on a Windows 2000 Professional installation > > when > > > I try to start a session: > > > > > > Warning: open(/tmp\sess_9ab091b811c5675d90fabf4392b3c110, O_RDWR) > failed: > > m > > > (2) in > > > e:\inetpub\wwwroot\cd\common.inc on line 27 > > > > > > Any help would be much appreciated. > > > > > > Regards, > > > Ben > > > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > > > * Ben Edwards [EMAIL PROTECTED]+44 (0)7970 269 522 * > > > * Campaign Against proper English, Dyslexia division * > > > * Homepagehttp://www.gifford.co.uk/~bedwards * > > > * i-Contact Progressive Videohttp://www.videonetwork.org * > > > * Smashing the Corporate image http://www.subvertise.org * > > > * Bristol's radical newshttp://www.bristle.co.uk * > > > * Open Directory Project http://www.dmoz.org * > > > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Problem starting session
Check your php.ini file, you should set the temp dir setting to semething like C:\tmp and make sure that C:\tmp exists and that whatever user your site is running as in IIS is set to have read/write access... /tmp\sess is for unix...it's not a valid path (/tmp is what is defined as the temp dir in php.ini) -js - Original Message - From: "Chris Lee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 20, 2001 11:58 AM Subject: Re: [PHP] Problem starting session > does the dir exist ? I dont use win2k for php so im guessing. win2k also has > some sort of permissions doesnt it ? does the dir have to have the same > perms that the server does ? linux needs this to be true. > > -- > > Chris Lee > [EMAIL PROTECTED] > > > "Ben Edwards" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I am getting the following on a Windows 2000 Professional installation > when > > I try to start a session: > > > > Warning: open(/tmp\sess_9ab091b811c5675d90fabf4392b3c110, O_RDWR) failed: > m > > (2) in > > e:\inetpub\wwwroot\cd\common.inc on line 27 > > > > Any help would be much appreciated. > > > > Regards, > > Ben > > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > > * Ben Edwards [EMAIL PROTECTED]+44 (0)7970 269 522 * > > * Campaign Against proper English, Dyslexia division * > > * Homepagehttp://www.gifford.co.uk/~bedwards * > > * i-Contact Progressive Videohttp://www.videonetwork.org * > > * Smashing the Corporate image http://www.subvertise.org * > > * Bristol's radical newshttp://www.bristle.co.uk * > > * Open Directory Project http://www.dmoz.org * > > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Problem starting session
Ben, In your php.ini you should have the following: session.save_path = c:\winnt\temp Currently you have it set to: session.save_path = /tmp -- Rich Cavanaugh -Original Message- From: Ben Edwards [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001 12:48 PM To: [EMAIL PROTECTED] Subject: [PHP] Problem starting session I am getting the following on a Windows 2000 Professional installation when I try to start a session: Warning: open(/tmp\sess_9ab091b811c5675d90fabf4392b3c110, O_RDWR) failed: m (2) in e:\inetpub\wwwroot\cd\common.inc on line 27 Any help would be much appreciated. Regards, Ben *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ * Ben Edwards [EMAIL PROTECTED]+44 (0)7970 269 522 * * Campaign Against proper English, Dyslexia division * * Homepagehttp://www.gifford.co.uk/~bedwards * * i-Contact Progressive Videohttp://www.videonetwork.org * * Smashing the Corporate image http://www.subvertise.org * * Bristol's radical newshttp://www.bristle.co.uk * * Open Directory Project http://www.dmoz.org * *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Problem starting session
does the dir exist ? I dont use win2k for php so im guessing. win2k also has some sort of permissions doesnt it ? does the dir have to have the same perms that the server does ? linux needs this to be true. -- Chris Lee [EMAIL PROTECTED] "Ben Edwards" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am getting the following on a Windows 2000 Professional installation when > I try to start a session: > > Warning: open(/tmp\sess_9ab091b811c5675d90fabf4392b3c110, O_RDWR) failed: m > (2) in > e:\inetpub\wwwroot\cd\common.inc on line 27 > > Any help would be much appreciated. > > Regards, > Ben > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > * Ben Edwards [EMAIL PROTECTED]+44 (0)7970 269 522 * > * Campaign Against proper English, Dyslexia division * > * Homepagehttp://www.gifford.co.uk/~bedwards * > * i-Contact Progressive Videohttp://www.videonetwork.org * > * Smashing the Corporate image http://www.subvertise.org * > * Bristol's radical newshttp://www.bristle.co.uk * > * Open Directory Project http://www.dmoz.org * > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]