NYCPHP Meetup

NYPHP.org

[nycphp-talk] loop

Hans Zaunere hans at nyphp.org
Fri Dec 20 10:15:02 EST 2002


--- Brian <brian at preston-campbell.com> wrote:
> The script will specifically not time out.  I don't want it to.  The
> issue is that it is running on a tiny embedded server (see
> http://www.boa.org) running php3lite, a reduced version of php for just
> such a system.  I opened a browser three days ago, started the script,
> and then closed the browser.  If I need to kill the process I am not
> sure how to do it other than restarting the server although I can
> probably end it with [kill -1 php] in ssh.  Since these are not normal
> circumstances, I was curious if there might be another way to end the
> process.

You could have PHP kill itself in various way, if this helps:

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



=====
Hans Zaunere
New York PHP
http://nyphp.org
hans at nyphp.org



More information about the talk mailing list