#49401 [Opn->Fbk]: Semaphore files are being created in / by default

From: Date: Sat, 29 Aug 2009 00:36:08 +0000
Subject: #49401 [Opn->Fbk]: Semaphore files are being created in / by default
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-141681@lists.php.net to get a copy of this message
ID: 49401 Updated by: jani@php.net Reported By: nathan at gossamer-threads dot com -Status: Open +Status: Feedback Bug Type: Session related Operating System: Gentoo PHP Version: 5.2.10 New Comment: Compared to what PHP version..? Previous Comments: ------------------------------------------------------------------------ [2009-08-28 17:56:01] nathan at gossamer-threads dot com Description: ------------ As of 5.2.10 it seems that the semaphore files are being created in / instead of the usual /tmp. Uncommenting the default session.save_path of /tmp in the php.ini fixes it. Reproduce code: --------------- nathan@ndb3 ~ $ php --version PHP Warning: PHP Startup: mm_create(0, /session_mm_cgi-fcgi1005) failed, err mm:core: failed to open semaphore file (Permission denied) in Unknown on line 0 PHP 5.2.10 (cgi-fcgi) (built: Aug 28 2009 10:23:30) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49401&edit=1

« previous php.bugs (#141681) next »