Download the PHP package icy8/process without Composer
On this page you can find all versions of the php package icy8/process. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package process
queue
介绍
php多进程和守护进程的执行器,只支持在命令行运行。
由于项目使用了pcntl_async_signals
函数做信号分发,所以要求你的php版本>=7.1。
进程控制流程
软件架构
-
php >= 7.1
-
pcntl扩展
- posix扩展
安装教程
使用说明
-
多进程模型
如果master进程被
kill
,子进程也会被强制退出。自由分配每个进程的工作逻辑:
- 守护进程模型
守护进程在制作过程中已经将标准输出重定向到
/dev/null
。执行:
php daemon.php --start|stop|status
如果你想要更自由一些:
-
多进程结合守护进程使用
这种模式下,通常多进程模型中的master进程就是当前的守护进程。
All versions of process with dependencies
PHP Build Version
Package Version
The package icy8/process contains the following files
Loading the files please wait ....