标签: linux启动停止php脚本

1 篇文章

linux启动、停止php脚本
linux启动、停止php脚本 linux启动.sh文件 1、单纯启动:sh xxx.sh 2、后台启动运行:nohup sh xxx.sh & linux关闭正在执行的php脚本、 1、如果不是后台执行,直接ctrl+c 就终止执行、 2、如果是后台执行、 首先执行:sudo ps -ef|grep php、 再次执行:sudo kill -9 pid 或者 sudo kill -15 …