php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #11332 signal handling
Submitted: 2001-06-07 12:21 UTC Modified: 2002-04-10 18:01 UTC
From: jjones at darkside dot dynup dot net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Latest CVS (2001-06-07) OS: Unix/POSIX
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: jjones at darkside dot dynup dot net
New email:
PHP Version: OS:

 

 [2001-06-07 12:21 UTC] jjones at darkside dot dynup dot net
It would be wonderful if the cgi sapi would allow me to 

handle my own signals.  Something like void register_signal_function (mixed signal, char function), so 

I can at least shut the script down cleanly.  ;)  register_shutdown_function () doesn't "appear" to work quite like that.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-10 18:01 UTC] sniper@php.net
There is the pcntl extension for this:

http://www.php.net/manual/en/ref.pcntl.php

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Apr 20 06:00:02 2026 UTC