php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16088 ini_set("session.save_handler", "user") causes segmentation fault
Submitted: 2002-03-14 19:22 UTC Modified: 2002-04-10 19:14 UTC
From: jfrumar at yahoo dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.1.2 OS: Redhat 7.2
Private report: No CVE-ID: None
 [2002-03-14 19:22 UTC] jfrumar at yahoo dot 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)'.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-14 20:48 UTC] jfrumar at yahoo dot com
Further experimentations seems to show that the conflict is actually having session auto start enabled, and having save_handler set to user
 [2002-04-10 19:14 UTC] sniper@php.net
Please try the latest CVS snapshot from http://snaps.php.net/ and reopen if it sill crashes.

 [2002-07-16 03:52 UTC] michael at korban dot 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-07-18 05:14 UTC] michael at korban dot ru
Problem solved. 
In php.ini need set session.autostart=Off.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Dec 03 12:00:01 2025 UTC