ID:               25876
 Comment by:       jenokz at yahoo dot com
 Reported By:      golden at riscom dot com
 Status:           Closed
 Bug Type:         Session related
 Operating System: freebsd 4.8
 PHP Version:      4.3.3
 New Comment:

Hi,

Im using php4.3.7 on FreeBSD 4.10-STABLE.

The problem is session saved to /tmp but without values on it. I've try
recompile it and im still get this problem, session not works.

PS: /tmp is writeable and avaiable space on it.


Previous Comments:
------------------------------------------------------------------------

[2004-07-04 16:22:56] paulridge at ukwsd dot com

We are experiencing this also on 4.3.3; RH9. tmp folder is chmod 777.

Our php is compiled as follows:


'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml'
'--enable-bcmath' '--enable-calendar' '--with-curl'
'--with-swf=/usr/local/flash' '--enable-ftp' '--with-gd'
'--with-jpeg-dir=/usr/local' '--with-png-dir=/usr'
'--with-xpm-dir=/usr/X11R6' '--with-gettext' '--enable-mbstring'
'--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt'
'--with-mhash' '--with-ming=../ming-0.2a' '--enable-magic-quotes'
'--with-mysql=/usr' '--enable-discard-path' '--with-pear'
'--enable-xslt' '--with-xslt-sablot' '--enable-sockets'
'--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr'
'--enable-gd-native-ttf' '--enable-versioning' '--with-zlib'

------------------------------------------------------------------------

[2004-06-18 00:20:06] searchadm at goschorn dot de

forgot to tell ...

permissions on /tmp set to 777
session__handling is set to file

after apachectl restart it works again for some days and then the
problem returned

------------------------------------------------------------------------

[2004-06-17 20:37:29] mitch at webcob dot com

Having this problem again too.

I WAS having this problem with FreeBSD 4.4 / Apache 1.3.27 / PHP
4.3.2.

The problem started happening again a couple days ago...

Seems to be a Heisenbug - ever time I add code to output debug info and
restart apache, the problem seems to have disappeared or moved to a
different website / vhost.

Problem does not seem to happen on all vhosts at the same time...

Just upgraded to PHP 4.3.7

The problem still persists.

I have done all the recommended "fixes" - checking disk space,
permissions, changing storage location, etc. Am currently working on a
db based storage moduel to include on all sites experiencing the
problem as in interrum fix.

Please CC me on any updates.

thanks.

------------------------------------------------------------------------

[2004-06-17 10:18:10] searchadm at goschorn dot de

PHP Fatal error:  session_start(): Failed to initialize storage module:
user (path: /tmp) in ...

PHP 4.3.7 (4.3.4 also)
Apache 2.0.48 
Suse Linux 8.2

after apachectl restart it works again for a while

------------------------------------------------------------------------

[2004-06-15 15:05:39] datacompboy at mail dot ru

Currently runned workaround via
auto_prepend_file       = /etc/httpd/phpinc.php

and in /etc/httpd/phpinc.php
<? session_module_name("files"); ?>

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/25876

-- 
Edit this bug report at http://bugs.php.net/?id=25876&edit=1

Reply via email to