#49401 [Com]: Semaphore files are being created in / by default
| From: | nathan at gossamer-threads dot com | Date: | Fri, 28 Aug 2009 17:57:18 +0000 |
| Subject: | #49401 [Com]: Semaphore files are being created in / by default | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-141668@lists.php.net to get a copy of this message | ||
ID: 49401
Comment by: nathan at gossamer-threads dot com
Reported By: nathan at gossamer-threads dot com
Status: Open
Bug Type: Session related
Operating System: Gentoo
PHP Version: 5.2.10
New Comment:
Configure command used:
Configure Command => './configure' '--prefix=/usr/lib/php5'
'--host=i686-pc-linux-gnu' '--mandir=/usr/lib/php5/man'
'--infodir=/usr/lib/php5/info' '--sysconfdir=/etc'
'--cache-file=./config.cache' '--enable-cli' '--disable-cgi'
'--with-config-file-path=/etc/php/cli-php5'
'--with-config-file-scan-dir=/etc/php/cli-php5/ext-active'
'--without-pear' '--disable-bcmath' '--with-bz2'
'--disable-calendar'
'--disable-ctype' '--with-curl' '--without-curlwrappers'
'--disable-dbase' '--enable-exif' '--without-fbsql'
'--without-fdftk'
'--disable-filter' '--enable-ftp' '--without-gettext'
'--without-gmp'
'--disable-hash' '--without-informix' '--disable-ipv6'
'--disable-json'
'--without-kerberos' '--enable-mbstring' '--with-mcrypt'
'--enable-memory-limit' '--with-mhash' '--without-ming'
'--without-msql'
'--without-mssql' '--with-ncurses' '--with-openssl'
'--with-openssl-dir=/usr' '--disable-pcntl' '--without-pcre-dir'
'--disable-pdo' '--without-pgsql' '--without-pspell'
'--without-recode'
'--disable-reflection' '--disable-simplexml' '--enable-shmop'
'--without-snmp' '--disable-soap' '--enable-sockets'
'--without-sybase'
'--without-sybase-ct' '--disable-sysvmsg' '--disable-sysvsem'
'--disable-sysvshm' '--without-tidy' '--disable-tokenizer'
'--disable-wddx' '--disable-xmlreader' '--disable-xmlwriter'
'--with-xmlrpc' '--with-xsl' '--disable-zip' '--with-zlib'
'--disable-debug' '--enable-dba' '--without-cdb'
'--with-db4'
'--with-flatfile' '--with-gdbm' '--with-inifile'
'--without-qdbm'
'--with-freetype-dir=/usr' '--with-t1lib=/usr' '--disable-gd-jis-conv'
'--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr'
'--without-xpm-dir' '--with-gd' '--with-imap'
'--with-imap-ssl'
'--with-mysql=/usr/lib/mysql'
'--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--without-mysqli'
'--with-readline' '--without-libedit' '--with-mm'
'--without-sqlite'
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