PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
phpuser15
Forum Newbie
Posts: 3 Joined: Fri Aug 15, 2003 3:10 am
Post
by phpuser15 » Fri Aug 15, 2003 3:10 am
Hi,
Im using apache and PHP 4.0 on windows 98. However whenever I run a script which uses sessions for authentification, I get the following errors:
Warning: open(\tmp\sess_0507dc7685beb05af88a311ff2cf0882, O_RDWR) failed: m (2) in C:\apache\htdocs\script\config.inc.php on line 25
Can anyone tell me whats the problem?
Thanks,
Joe
Seth_[php.pl]
Forum Commoner
Posts: 30 Joined: Sun Aug 10, 2003 5:25 am
Location: Warsaw / Poland
Post
by Seth_[php.pl] » Fri Aug 15, 2003 3:39 am
Define your session path in your php.ini file by changing the value of session.save_path. Then should work.
phpuser15
Forum Newbie
Posts: 3 Joined: Fri Aug 15, 2003 3:10 am
Post
by phpuser15 » Fri Aug 15, 2003 6:21 am
What path should I change it to??
Thanks,
Joe
Seth_[php.pl]
Forum Commoner
Posts: 30 Joined: Sun Aug 10, 2003 5:25 am
Location: Warsaw / Poland
Post
by Seth_[php.pl] » Fri Aug 15, 2003 6:49 am
Place you want to store your session datas.
For example: session.save_path = c:\PHP\sessiondata