#15209 [Opn->Ctl]: Under Apache, register_shutdown_function() broke between 4.0.x to 4.1.x

From: Date: Sat, 12 Oct 2002 15:21:46 +0000
Subject: #15209 [Opn->Ctl]: Under Apache, register_shutdown_function() broke between 4.0.x to 4.1.x
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22235@lists.php.net to get a copy of this message
ID: 15209 Updated by: sniper@php.net Reported By: priebe@mi-corporation.com -Status: Open +Status: Critical Bug Type: Scripting Engine problem Operating System: RH Linux 7.2 -PHP Version: 4.1.x - 4.2.1 +PHP Version: 4.3.0-dev New Comment: Marking as critical since this worked at some point. And there was also posting by jtate@php.net with a possible fix on php-dev@lists.php.net Previous Comments: ------------------------------------------------------------------------ [2002-10-04 07:44:12] priebe@mi-corporation.com I grabbed a snapshot today (php4-200210040300). I jtate's script, and still got the erroneous (IMO) behavior. My connection to the server did not close until the shutdown function completed. Looking at the suspect section of sapi_apache.c, I do not see any changes. Not that I expected to see my patch verbatim, but I would expect something in that vicinity to change. ------------------------------------------------------------------------ [2002-10-02 10:33:06] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-10-02 09:35:00] priebe@mi-corporation.com Is this really a dupe of 14251? Maybe they involve some of the same code, but these are really two different issues. 14251 involves the fact that the shutdown function code gets a different working directory. 15209 concerns whether the shutdown function runs before or after the HTTP connection is closed. ------------------------------------------------------------------------ [2002-10-01 06:04:16] yohgaki@php.net Dup of #14251 ------------------------------------------------------------------------ [2002-08-19 14:01:08] spearson8872@aol.com I am using AIX 4.3.3, Apache 1.3.26, mod_perl 1.26 and PHP 4.2.2 This problem is one of 2 that are causing compilation failures for me. The other is that the LARGE_FILE definition (in mod_perl's ap_config_auto.h) is causing "conflicting type" errors for mmap64 when compiling sapi_apache.c (I will raise a seperate bug report for this second problem) ------------------------------------------------------------------------ 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/15209 -- Edit this bug report at http://bugs.php.net/?id=15209&edit=1

« previous php.bugs (#22235) next »