PHP Classes

Daemon Emulation: Create and manage daemon processes

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 1,334 All time: 2,900 This week: 455Up
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: 46
All time rank: 1845 in Ukraine Ukraine
Week rank: 33 Up1 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,334
This week:0
All time:2,900
This week:455Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2388