ID: 25876 Comment by: onno at triptic dot nl Reported By: golden at riscom dot com Status: Feedback Bug Type: Session related Operating System: freebsd 4.8 PHP Version: 4.3.3 New Comment:
Nope it didn't help after all, sorry for the previous post Previous Comments: ------------------------------------------------------------------------ [2004-12-27 14:24:03] [EMAIL PROTECTED] Please, provide a short but complete reproduce script. ------------------------------------------------------------------------ [2004-12-27 13:40:47] onno at triptic dot nl In 4.3.10 with apache/linux I had this problem by simply creating my own session_id and set this using the function session_id(). Not doing this seemed to have helped. ------------------------------------------------------------------------ [2004-12-27 13:34:42] mstuhu at web dot de Same here (PHP 4.3.10 as module on Apache 1.3.26, Redhat Linux) for Squirrelmail: Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) "session.save_handler" is "files" by default, however "Registered save handlers" is "files user". ------------------------------------------------------------------------ [2004-12-27 12:34:15] mbi at euro-ip dot net FreeBSD 4.10 and PHP 4.3.10 How to reproduce: - Running a system with about 1000 virthosts, some of the users use PHP scripts that configure own session handlers. - Most of the users don't configure an alternate session handler and start their session with a simple "session_start();" statement, but some of them do, mostly by installing some kind of forum or weblog tool. Users that don't set an alternate session handler or set their session handler to "files" via ini_set in every file they open regulary get confronted with a PHP error like: PHP Fatal error: session_start(): Failed to initialize storage module: user (....) Putting "ini_set ( "session.save_handler", "files" );" in every file with a "session_start();" in it solved it for our own sites, but doesn't go easy with all the other users affected. For us, this started after upgrading from PHP 4.3.9 to 4.3.10. Putting "php_value session.save_handler files" in .htaccess files or Apache config files didn't help to fix the problem. Disabling all sites with "user" session handlers stopped the error from occuring, but this is obviously not what we want. ------------------------------------------------------------------------ [2004-12-27 11:45:40] anilk510 at yahoo dot co dot in What is the path to session.save_path ..please let me know ------------------------------------------------------------------------ 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