#22470 [Opn->Bgs]: register_shutdown_function seems dosen't run in ApacheModule but CGI mode do

From: Date: Fri, 28 Feb 2003 06:50:59 +0000
Subject: #22470 [Opn->Bgs]: register_shutdown_function seems dosen't run in ApacheModule but CGI mode do
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-34498@lists.php.net to get a copy of this message
ID: 22470 Updated by: sniper@php.net Reported By: hehe at aol dot cc -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: win32 PHP Version: 4.2.3 New Comment: Search the bug database before submitting new reports.. Previous Comments: ------------------------------------------------------------------------ [2003-02-27 23:57:31] hehe at aol dot cc I did a simple test on my WinXP/Apache1.3.27/PHP4.2.3, <?php function aaaaa(){ $fp=fopen("aaa.log","a+b"); fclose($fp); } register_shutdown_function("aaaaa"); ?> First time, I configue PHP as CGI mode; after run I found new file aaa.log shows up, then I deleted it. Second time, I configue PHP as ApacheModule mode; after run I found NOTHING. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22470&edit=1

« previous php.bugs (#34498) next »