php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9909 session_start() fails to write data file
Submitted: 2001-03-21 23:23 UTC Modified: 2001-03-22 00:05 UTC
From: shane at ethosmedia dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.4pl1 OS: Mac OS X Server
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: shane at ethosmedia dot com
New email:
PHP Version: OS:

 

 [2001-03-21 23:23 UTC] shane at ethosmedia dot 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)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-22 00:05 UTC] shane at ethosmedia dot com
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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 01:01:32 2025 UTC