php process hot update

When php daemon code changes in the document did not include the background started to take effect, you need to restart the process, but some of the higher procedural requirements.

1  inotify-tools

yum install inotify-tools

 

 

Reference article: https: //segmentfault.com/q/1010000018623406

 

2

swoole workerStart

 

3

workerman reload mechanism

 

Guess you like

Origin www.cnblogs.com/kala00k/p/11699736.html
Recommended