[imp] Files in /tmp

Lars Hecking lhecking@nmrc.ucc.ie
Wed, 18 Oct 2000 10:41:30 +0100


[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 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