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

From: Date: Sat, 29 Aug 2009 00:38:58 +0000
Subject: #49401 [Fbk->Bgs]: Semaphore files are being created in / by default
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-141682@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: Feedback +Status: Bogus Bug Type: Session related Operating System: Gentoo PHP Version: 5.2.10 New Comment: And I don't see any bug here anyway. If you don't define a path, it will just be "". And then it's up to whatever your current working directory happens to be. With Apache it's always /. Previous Comments: ------------------------------------------------------------------------ [2009-08-29 00:36:07] jani@php.net Compared to what PHP version..? ------------------------------------------------------------------------ [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 (#141682) next »