Bug #16088 Updated: ini_set("session.save_handler", "user") causes segmentation fault

From: Date: Thu, 18 Jul 2002 09:14:08 +0000
Subject: Bug #16088 Updated: ini_set("session.save_handler", "user") causes segmentation fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14512@lists.php.net to get a copy of this message
 ID:               16088
 Updated by:       michael@korban.ru
 Reported By:      jfrumar@yahoo.com
 Status:           Closed
 Bug Type:         Session related
 Operating System: Redhat 7.2
 PHP Version:      4.1.2
 New Comment:

Problem solved. 
In php.ini need set session.autostart=Off.


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

[2002-07-16 03:52:50] michael@korban.ru

Every day i get latest php-snapshot and httpd2-snapshot, compile its,
but this error does not fixed. At runtime using
ini_set("session.save_handler", "user") yet 'child pid 53732 exit
signal Segmentation fault (11)'.

Sorry for bad english...

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

[2002-04-10 19:14:29] sniper@php.net

Please try the latest CVS snapshot from http://snaps.php.net/
and
reopen if it sill crashes.


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

[2002-03-14 20:48:19] jfrumar@yahoo.com

Further experimentations seems to show that the conflict is actually
having session auto start enabled, and having save_handler set to user

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

[2002-03-14 19:22:35] jfrumar@yahoo.com

In my php.ini file I have "session.save_handler = files" for
compatibility reasons (so the other sites on my box will run). 

I am developing a site that needs to store sessions in a mysql DB. I
have the session handler running fine when the php.ini file says
session.save_handler = user, but when I try to set it at runtime using
ini_set("session.save_handler", "user"), the child process dies:

 'child pid 2167 exit signal Segmentation fault (11)'.




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


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



Thread (7 messages)

« previous php.bugs (#14512) next »