PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 1,334 All time: 2,899 This week: 455Up
Version License Categories
daemonclass 1.0BSD LicensePHP 5, Unix, Language


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: 45
All time rank: 1845 in Ukraine Ukraine
Week rank: 307 Down3 in Ukraine Ukraine Up
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  
This week:0
All time:2,899
This week:455Up
 User Ratings  
 All time