ID:               25876
 Comment by:       paulridge at ukwsd 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:

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'


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

[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"); ?>

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

[2004-06-15 14:47:13] datacompboy at mail dot ru

I have running Apache
SERVER_SOFTWARE         Apache/1.3.20 Sun Cobalt (Unix) mod_jk mod_ssl/2.8.4
OpenSSL/0.9.7d PHP/4.3.7 mod_auth_pam_external/0.1 FrontPage/5.0.2.2510
mod_perl/1.26

Small code to see:
<?
 phpinfo();
 session_start();
?>

Producing
  session.save_handler  files     files
and below:
  Fatal error: session_start(): Failed to initialize storage module:
user (path: /tmp) in a.php on line 3

Can't say what to do to fix that _STRANGE_ error :/

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

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