Re: PHP as daemon process
| From: | Paul Chvostek | Date: | Wed, 16 Apr 2003 09:21:12 +0000 |
| Subject: | Re: PHP as daemon process | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144091@lists.php.net to get a copy of this message | ||
On Wed, Apr 16, 2003 at 09:29:13AM +0300, Ilja Polivanovas wrote:
>
> No problem with soceket client-server, was talking about detaching from
> shell.
php -q script.php & is killed after closing shell.
> That is the
> problem.
Ah. Yes, pcntl is the thing for that. Or for something quick-and-dirty:
man nohup
It may also be built in to your shell.
--
Paul Chvostek <paul@it.ca>
Operations / Abuse / Whatever
it.canada, hosting and development http://www.it.ca/