PHP Classes
elePHPant
Icontem

Daemon Emulation: Create and manage daemon processes

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2006-04-28 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,327 All time: 2,811 This week: 915Up
Version License Categories
daemonclass 1.0BSD LicensePHP 5, Unix, Language
Description Author

The class can be used to create and manage daemon processes.

It starts a new child process that is left asleep while the main process runs. After some time the main process wakes up the child and exits. The child starts another child process which gets is left asleep while its parent process runs and so on.

It requires the PHP pnctl extension, so it only works under Unix/Linux like systems.

Picture of Grigori Kochanov
Name: Grigori Kochanov <contact>
Classes: 7 packages by
Country: Ukraine Ukraine
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file test.php Example run this from the comand line
Accessible without login Plain text file configure_cli_sample Data sample of the ./configure command to compile PHP CLI
Accessible without login Plain text file daemon.class.php Class The class that allows to make script a daemon process

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,327
This week:0
All time:2,811
This week:915Up