PHP 4.0 Bug #9909 Updated: session_start() fails to write data file
| From: | shane at ethosmedia dot com | Date: | Thu, 22 Mar 2001 05:05:39 +0000 |
| Subject: | PHP 4.0 Bug #9909 Updated: session_start() fails to write data file | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49708@lists.php.net to get a copy of this message | ||
ID: 9909
User Update by: shane@ethosmedia.com
Old-Status: Open
Status: Closed
Bug Type: *Session related
Description: session_start() fails to write data file
False alarm, sorry . . . turns out that Apache changed the way it writes temp files (I think the
"child" servers now write files, rather than the parent servers) so it couldn't write
to /tmp. Hmmph.
Previous Comments:
---------------------------------------------------------------------------
[2001-03-21 23:23:20] shane@ethosmedia.com
PHP 4.04pl1 compiled as a DSO
Apache 1.3.19
session_start() fails to write out its data file, causing
the session to not be initialized and the following error
to be displayed:
Warning: open(/tmp/sess_aeb08199d769529594e751c17ea3ffa7,
O_RDWR) failed: m (13) in <file> on line 2
PHP does not seem to be able to write out the file
anywhere; permissions on the directory are normal.
PHP compiled like so:
./configure
--with-apxs=/usr/local/sbin/apxs
--with-mysql=/usr/local/mysql
--enable-ftp
--with-xml
--enable-discard-path
--with-config-file-path=/Local/Library/WebServer/Configurat
ion
--disable-debug
--enable-track-vars
This was working with an Apache 1.3.14 and an earlier
version of PHP4 (sorry, can't say which but probably 4.01
or 4.02)
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=9909