Re: Catching SIGHUP
| From: | Markus Fischer | Date: | Thu, 11 Oct 2001 11:11:26 +0000 |
| Subject: | Re: Catching SIGHUP | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-67763@lists.php.net to get a copy of this message | ||
On Thu, Oct 11, 2001 at 12:53:58PM +0200, Edin Kadribasic wrote :
> > On Wed, Oct 10, 2001 at 11:38:44PM -0500, Richard Lynch wrote :
> > > Is it just impossible cuz PHP doesn't have try/catch error-handling?
> >
> > try/catch has nothing to do with signal handlers. By first bet is
> > that ist just not imlpemented to call a php function when a
> > signal occurs .... guess we'll have to implement it (at least for
> > cgi ;)
>
> Take a look at (very experimental) ext/pcntl. It let's you specify signal
> handlers.
Of course I thought probably its already implemented but I was
just too lazy.
:-)
m.