Code: Select all
Warning: session_start() [function.session-start]: open(/tmp\sess_d576867242626e2f4fd098890b8790bf, O_RDWR) failed: No such file or directory (2) in c:\appserv\www\test\page1.php on line 3
Go to this page
Warning: Unknown(): open(/tmp\sess_d576867242626e2f4fd098890b8790bf, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0In the php.ini file there appear a number of items that could be changed.
Code: Select all
[Session]
; Handler used to store/retrieve data.
session.save_handler = files
; 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
; Whether to use cookies.
session.use_cookies = 1
; This option enables administrators to make their users invulnerable to
; attacks which involve passing session ids in URLs; defaults to 0.
; session.use_only_cookies = 1
; Name of the session (used as cookie name).
session.name = PHPSESSID
; Initialize session on request startup.
session.auto_start = 0