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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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 08:00:03 2025 UTC