php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26784 Script missing for the generation of session's directory
Submitted: 2004-01-04 13:34 UTC Modified: 2004-01-04 17:05 UTC
From: php at plouk dot net Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: Irrelevant OS: Linux debian
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: php at plouk dot net
New email:
PHP Version: OS:

 

 [2004-01-04 13:34 UTC] php at plouk dot net
Description:
------------
I haven't found the script which could create the directory structure for the N-level deep session storage ...
"NOTE 1" indicate the ext/session directory, but there is only c 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.
; As of PHP 4.0.1, you can define the path as:
;     session.save_path = "N;/path"
; where N is an integer.  Instead of storing all the session files in
; /path, what this will do is use subdirectories N-levels deep, and
; store the session data in those directories.  This is useful if you
; or your OS have problems with lots of files in one directory, and is
; a more efficient layout for servers that handle lots of sessions.
; NOTE 1: PHP will not create this directory structure automatically.
;         You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose to
;         use subdirectories for session storage
session.save_path = /tmp


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-04 14:05 UTC] iliaa@php.net
The file does exist inside ext/session/ and is called 
mod_files.sh. 
 [2004-01-04 17:05 UTC] php at plouk dot net
Thanks
Directories are generated, but it doesn't work with 
session.save_path="2;/tmp"
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 05:01:27 2024 UTC