[imp] Files in /tmp

Didi Rieder adrieder@sbox.tu-graz.ac.at
Wed, 18 Oct 2000 12:00:25 +0200


Lars Hecking wrote:
> 
> [Cc'd to php-dev. I think this is a php issue.]
> 
> Didi Rieder writes:
> > Hello,
> >
> > I'm using imp-2.2.3 since a few days, now i recognized that I'm getting
> > a lot (~1000) of empty files in /tmp with filenames like "php44aONu",
> > is this normal, or did I forgot something to configure?
> 
>  I get this too, but I assumed is was related to my php upgrade to 4.0.3.
>  Which php version do you use?

I'm using php-4.0.3pl1.

> 
>  I sent a report to php-dev (no reply) and Chuck. He suggested that these
>  might be session files, or that php4 sessions were automaticallly enabled.
> 
>  This is where we got stuck, more or less. I append my session.* settings
>  from php.ini for comparison (I never changed any of these IIRC). The only
>  session.* value in php 4.0.3's php.ini different from my old config
>  is session.use_trans_sid = 1.
> 
> session.save_handler      = files
> session.save_path         = /tmp
> session.use_cookies       = 1
> session.name              = PHPSESSID
> session.auto_start        = 0
> session.cookie_lifetime   = 0
> session.cookie_path       = /
> session.cookie_domain     =
> session.serialize_handler = php
> session.gc_probability    = 1
> session.gc_maxlifetime    = 1440
> session.referer_check     =
> session.entropy_length    = 0
> session.entropy_file      =
> ; session.entropy_length    = 16
> ; session.entropy_file      = /dev/urandom
> session.cache_limiter     = nocache
> session.cache_expire      = 180

This are my session settings...


session.save_handler      = mm
session.save_path         = /tmp    ; argument passed to save_handler
                                    ; in the case of files, this is the
                                    ; path where data files are stored
session.use_cookies       = 1
session.name              = PHPSESSID
session.auto_start        = 0
session.cookie_lifetime   = 0
session.cookie_path       = /
session.cookie_domain     =  
session.serialize_handler = php
session.gc_probability    = 1
session.gc_maxlifetime    = 1440
session.referer_check     =
session.entropy_length    = 0
session.entropy_file      =  
; session.entropy_length    = 16
; session.entropy_file      = /dev/urandom
session.cache_limiter     = nocache
session.cache_expire      = 180    
session.use_trans_sid     = 1      
                              

regards
	Didi