ID:               25876
 Comment by:       searchadm at goschorn dot de
 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:

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


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

[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 :/

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

[2004-06-14 01:43:26] sha3134 at njit dot edu

I was having this problem intially with php-4.3.2 with squieralmail.
After an upgrade of both SQ and PHP-4.3.7, the problem persists, though
more random. Hitting refresh usually clears this error. As i discovered
though the error happens with pages using start_session and 
session.save_path permissions for files are correct and i have tried
clearing it out. I have not tried the:

   ini_set('session.save_handler', 'files');

as i its already defined in my php.ini file. 

Note this is a very random bug/feature. Could this be due to high load
or high io on the server ?

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

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