php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5507 Problem with path to sessions files
Submitted: 2000-07-11 10:37 UTC Modified: 2000-10-27 23:00 UTC
From: fblanquart at covefi dot fr Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.1pl2 OS: Windows NT 4.0 SP6 / IIS 4.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fblanquart at covefi dot fr
New email:
PHP Version: OS:

 

 [2000-07-11 10:37 UTC] fblanquart at covefi dot fr
Just after intalling the 4.0.1pl2, I get the following error
during the session opening.


Warning: open(c:\php4\session/sess_c44a54e7e0b062e5e423505688f37e62, O_RDWR) failed: m (2) in C:\Inetpub\wwwroot\php\test.php on line 2

php.ini Session Section :
[Session]
session.save_handler      = files   ; handler used to store/retrieve data
session.save_path         = c:\php4\session    ; argument passed to save_handler
                                    ; in the case of files, this is the
                                    ; path where data files are stored
session.use_cookies       = 1       ; whether to use cookies
session.name              = PHPSESSID  
                                    ; name of the session
                                    ; is used as cookie name
session.auto_start        = 0       ; initialize session on request startup
session.cookie_lifetime   = 0       ; lifetime in seconds of cookie
                                    ; or if 0, until browser is restarted
session.cookie_path       = /       ; the path the cookie is valid for
session.cookie_domain     =         ; the domain the cookie is valid for
session.serialize_handler = php     ; handler used to serialize data
                                    ; php is the standard serializer of PHP
session.gc_probability    = 1       ; percentual probability that the 
                                    ; 'garbage collection' process is started
                                    ; on every session initialization
session.gc_maxlifetime    = 1440    ; after this number of seconds, stored
                                    ; data will be seen as 'garbage' and
                                    ; cleaned up by the gc process
session.referer_check     =         ; check HTTP Referer to invalidate 
                                    ; externally stored URLs containing ids
session.entropy_length    = 0       ; how many bytes to read from the file
session.entropy_file      =         ; specified here to create the session id
; session.entropy_length    = 16
; session.entropy_file      = /dev/urandom
session.cache_limiter     = nocache ; set to {nocache,private,public} to
                                    ; determine HTTP caching aspects
session.cache_expire      = 180     ; document expires after n minutes

The problem happens with the exe and the isapi dll.

The mm session.handler also doesn't work 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-02 01:19 UTC] waldschrott@php.net
marked 5624 as a dup
 [2000-10-27 23:00 UTC] dbeu@php.net
this shoudl be fixed, if not reopen.
but check your settings for the session save path, and make sure that it's writeable.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 12:01:33 2025 UTC