title: Kill Running PHP Script via Process ID?
body: <p>I make lots of GET requests to several PHP scripts via AJAX. I want to ask for implementation advice on how to kill a PHP script that is currently running (in the background).</p>
  
  <p>Is there some way to get the PHP scripts process ID when it runs and then I can probably kill that process via shell/cmd etc?</p>
  
  <p>Is there a better way?</p>