error when using session_start

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

Post Reply
Rony
Forum Newbie
Posts: 3
Joined: Tue Jan 21, 2003 9:16 pm
Location: Mex

Post by Rony »

Why I get this error when I use session_start(); ?

Warning: session_start() [function.session-start]: open(/tmp\sess_815d599a784f8f8600411db19d17d6a9, O_RDWR) failed: No such file or directory (2) in c:\archivos de programa\apache group\apache\htdocs\test.php on line 2
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post by jason »

Because the file /tmp\sess_815d599a784f8f8600411db19d17d6a9 doesn't exist. Your on a windows system, and need to change your php.ini directive
Post Reply