#20284 [Csd]: Apache crashes (Sig 11) when doing a ini_set('session.save_handler', ..)

From: Date: Sun, 24 Nov 2002 19:52:42 +0000
Subject: #20284 [Csd]: Apache crashes (Sig 11) when doing a ini_set('session.save_handler', ..)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25736@lists.php.net to get a copy of this message
ID: 20284 User updated by: fatih.gey@2way.de Reported By: fatih.gey@2way.de Status: Closed Bug Type: Session related Operating System: Linux (RH-7.3) PHP Version: 4.3.0-dev Assigned To: derick New Comment: still having problems to run postnuke v0.721: this time (snapshot 200211241830) this error occurs: Fatal error: Cannot redeclare unixdate() in /[..]web/pnadodb/adodb.inc.php on line 1477 --adodb.inc.php: from line 1471 till line 1486 /* * Also in ADORecordSet. * @param $v is a date string in YYYY-MM-DD format * * @return date in unix timestamp format, or 0 if before * TIMESTAMP_FIRST_YEAR, or false if invalid date format */ function UnixDate($v) { if (!preg_match( "|^([0-9]{4})[-/\.]?([0-9]{1,2})[-/\.]?([0-9]{1,2})|", ($v), $rr)) return false; if ($rr[1] <= TIMESTAMP_FIRST_YEAR) return 0; // h-m-s-MM-DD-YY return mktime(0,0,0,$rr[2],$rr[3],$rr[1]); } ---EOF config / compile reson, or was this cvs-snapshot broken? thx Previous Comments: ------------------------------------------------------------------------ [2002-11-20 11:50:24] derick@php.net This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2002-11-20 08:27:53] derick@php.net Verifyed, attempting to fix it :-) Derick ------------------------------------------------------------------------ [2002-11-20 08:24:35] phpbug@lottasophie.de Here is a sample script: <?PHP session_register ("test"); ini_set('session.save_handler', 'user'); ?> crashes apache.exe, while <?PHP session_register ("test"); session_write_close(); ini_set('session.save_handler', 'user'); ?> does not. ------------------------------------------------------------------------ [2002-11-12 13:38:15] iliaa@php.net Cannot reproduce this problem using the latest CVS. Do you have any other session related ini setting in your php.ini or virtual host (httpd.conf)? ------------------------------------------------------------------------ [2002-11-12 12:54:19] fatih.gey@2way.de s/reconstruct/reproduce/ :) ------------------------------------------------------------------------ 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/20284 -- Edit this bug report at http://bugs.php.net/?id=20284&edit=1

« previous php.bugs (#25736) next »