php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22470 register_shutdown_function seems dosen't run in ApacheModule but CGI mode do
Submitted: 2003-02-27 23:57 UTC Modified: 2003-02-28 00:50 UTC
From: hehe at aol dot cc Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.2.3 OS: win32
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hehe at aol dot cc
New email:
PHP Version: OS:

 

 [2003-02-27 23:57 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-28 00:50 UTC] sniper@php.net
Search the bug database before submitting new reports..

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 28 09:00:02 2025 UTC