From: [EMAIL PROTECTED] Operating system: Linux/Debian/unstable PHP version: 4.0.6 PHP Bug Type: Session related Bug description: shmget() fails if running two copies of php4 simultaniously as different users Even with the session handler set to 'files', the mod_mm MINIT function gets called, putting a session_mm.sem in /tmp with permissions set to 600. This stops anyone else from running php (such as from the command line) at the same time. I see three possible fixes (but I don't know if these would work, otherwise I'd send you a patch): 1. Don't initialize the shared memory segment if the session save handler is set to anything but 'mm' 2. If the shared memory system fails, set a flag instead of erroring out, and have the rest of the shared memory system check this flag and let them error out when they try to use the shared memory system 3. (almost a kludge) Have the shared memory system look at either the $TMPDIR environment varible for where it should stick the segment, or have some other environment varible / configuration option that someone can set to put the session_mm.sem in someplace other than /tmp -- Edit bug report at: http://bugs.php.net/?id=13320&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]