Re: Running a php script as a service
| From: | HKG) | Date: | Tue, 14 Oct 2003 07:58:31 +0000 |
| Subject: | Re: Running a php script as a service | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21777@lists.php.net to get a copy of this message | ||
An example would be to write a C/C++ program that register it self
as a service (StarServiceCtrlDispatcher()). The service tread will
then have to call a php script (system()) to do the php stuff.
So for sure there is at least one way to do this.
On Tue, 2003-10-14 at 02:16, Nicholls, David wrote:
> Has anyone found a way of running a PHP script as a NT/2000 service? Would
> be nice not to have to leave the console logged in all the time.
>
> Regards