php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27096 session_start(): Failed to initialize storage module
Submitted: 2004-01-30 07:55 UTC Modified: 2004-01-30 08:29 UTC
From: ak at epsilon7 dot gr Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.3.4 OS: Redhat 9
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: ak at epsilon7 dot gr
New email:
PHP Version: OS:

 

 [2004-01-30 07:55 UTC] ak at epsilon7 dot gr
Description:
------------
? have installed SquirrelMail on a clean machine
running RedHat Linux 9.

The following msg constantly appears

Fatal error: session_start(): Failed to initialize storage module

Reproduced the same result even with a simple script:
<?php
session_start();
?>

I am using Apache/2.0.47 (Red Hat Linux) 

php.ini :
--------------------------------------------
[Session]
session.save_handler           = user
session.save_path              = /tmp/.phpsess
session.name                   = BAID
session.auto_start             = 0
session.cookie_lifetime        = 0
session.serialize_handler      = php
session.gc_probability         = 100
session.gc_maxlifetime         = 1440
session.entropy_length         = 0
session.use_cookies            = 1
session.cookie_path            = /
session.cache_limiter          = nocache
session.cache_expire           = 180
session.use_trans_sid          = 0

Configure Command:
--------------------------------------------
'./configure' '--with-apxs2=/usr/sbin/apxs' '--enable-shared' '--enable-calendar' '--enable-bcmath' '--enable-dbase' '--enable-filepro' '--enable-sysvsem' '--enable-sysvshm' '--enable-inline-optimization' '--enable-track-vars' '--enable-sigchild' '--enable-ftp' '--enable-gd-imgstrttf' '--enable-gd-imgstrttf' '--with-openssl' '--with-iconv' '--with-expat' '--enable-xslt' '--with-xslt-sablot' '--with-sablot-js' '--with-imap=shared' '--with-kerberos' '--with-imap-ssl' '--with-gettext=shared' '--with-mysql=shared' '--with-zlib=shared' '--with-gd=shared,/usr/local/php/gd' '--with-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-dom=shared' '--with-dom-xslt' '--with-curl=shared' '--with-ming=shared,/usr/local/php/ming' 


Reproduce code:
---------------
<?php
session_start();
?>

Expected result:
----------------
The page to load with no errors.

Actual result:
--------------
Fatal error: session_start(): Failed to initialize storage module. in /var/www/html/test.php on line 3

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-30 08:20 UTC] ak at epsilon7 dot gr
sorry it was mistake completely

Thanks
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Feb 07 13:00:02 2026 UTC