1.编写服务端php脚本
test.php / test
2.执行进程 ./test >> /tmp/log.txt & (后台进程)
3.守护进程
3.查看守护进程 ps -ef | grep php