aye
aye

Reputation: 293

How to kill only one php script

I have multiple php scripts running in my computer. I'd like to ask if there is any way to stop one php script and keep other scripts untouched?

Thank you very much!

Update: Sorry i assumed that most people are using Ubuntu/Linux.

Multiple php script is running in my Ubuntu OS laptop, each script is called by putting the link to my internet browser

Upvotes: 0

Views: 203

Answers (1)

arkascha
arkascha

Reputation: 42984

Well, identify the script and then kill it, addressing it by its process id (kill <pid>).

Have a look through the process list, if you canned the interpreter with the script as an argument then it will show up there: ps aux|grep php. Or, if you use shebangs inside the script (so that you can call it without explicitly starting the php interpreter), then search for it by the script name...

You might have to switch your effective user id if that php script was not started by you.

Upvotes: 1

Related Questions