How to kill a linux process using pid from php?

后端 未结 3 2001
夕颜
夕颜 2021-01-18 23:06

I am facing one issue regarding killing a Linux process from my php code. I am running a Scrapy tool from my php code using the proc_open() function in the back

3条回答
  •  说谎
    说谎 (楼主)
    2021-01-18 23:35

    You can use exec with sudo privileges for skill that is more safer check out kill users processes in linux with php

    Thanks & Regards,
    Alok Thaker

提交回复
热议问题