I have a PHP script that is running constantly in the background,
and I've used CYGWIN to register it as a service, but the problem
is when I try to stop/start (restart) it from the service control
manager, it just sits and spins on the stop portion.

I'm fairly sure this is because the PHP program is still in it's
infinite loop doing what it's supposed to be doing, and doesn't
realize it's been sent a shutdown signal.

So, is there anyway to listen for a shutdown signal on a console
based PHP script under Windows?

Linux/Unix Network Administrator
The Cryptocomm Group

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to