Login   Register  
PHP Classes

Multi Threading, Daemon (Windows service): Create Windows service to run daemons

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Manooj Kumar Dhar
Name: Manooj Kumar Dhar <contact>
Classes: 1 package by
Country: India India
Age: 34
All time rank: 1803108 in India India
Week rank: 1067 Up85 in India India Up
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can be used to used to create Windows service to run daemons.

This is mostly an example of how to start a Windows service using the Win32 PHP extension.

It register the service and starts a loop that goes on forever until the service is instructed to terminate.

In side the service loop the class calls a separate PHP script that can perform an arbitrary task as a thread running in parallel to the service daemon.

  Classes of Manooj Kumar Dhar  >  Multi Threading, Daemon (Windows service)  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Multi Threading, Daemon (Windows service)
Base name: daemon-windows
Description: Create Windows service to run daemons
Version: 2
PHP version: 4.0
Licenses: GNU Free Documentation License (FDL)
GNU General Public License (GPL)
All time users: 1320 users
All time rank: 2689
Week users: 1 user
Week rank: 1435 Up
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Windows Use of capabilities specific of the Windows operating systems View top rated classes

  Innovation Award  
PHP Programming Innovation award nominee
September 2009
Number 2

Prize: One book of choice by Packt
A Windows service is a program that keeps running in the background ready to perform certain tasks. It is the equivalent to daemon processes on Linux and other Unix like systems.

This class gives an example of how to create and register a service that can be started and stopped like other Windows services.

Manuel Lemos

  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file jobScript.php Example this file will receive all the paramets sent by the windows service using the multithreading process and process the further execution
Plain text file phpdaemon.php Class this class will help you to launch a windows service using php with mulit threading property

Install with Composer Install with Composer - Download Download all files: daemon-windows.tar.gz daemon-windows.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.