[thelist] PHP session_start() error
Mark Kennedy
mark at eurogamer.net
Wed Mar 31 06:31:21 CST 2004
>open(/tmp\sess_bb0a9f08d1d420d73d841f8b6cd99c83, O_RDWR) failed: No such
It's right there in the error message. You're running on a windows machine, but
the sessions temp directory is set to be the unix /tmp dir, which won't exist on
your machine.
Edit php.ini and look for:
; Argument passed to save_handler. In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
session.save_path = /tmp
You'll want to change that read:
session.save_path = c:\winnt\temp
Or whatever you want to use as a temp directory. Then restart your webserver.
HTH
Mark
More information about the thelist
mailing list