PHP Classes

Daemon Emulation: Create and manage daemon processes

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,310 All time: 2,755 This week: 1,302Up
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 is available for providing paid consulting. Contact Grigori Kochanov .
Classes: 7 packages by
Country: Ukraine Ukraine
Age: 36
All time rank: 1775 in Ukraine Ukraine
Week rank: 206 Down5 in Ukraine Ukraine Equal
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
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,310All time:2,755
 This week:0This week:1,302Up