title: How to stop PHP file execution with exec or shell_exec
body: <p>I have triggered a PHP file which has an infinite loop, with:</p>
  
  <pre><code>shell_exec('php '.__DIR__.'/serv.php 2&gt;&amp;1 &gt; /dev/null &amp;');
  </code></pre>
  
  <p>and now I can't to stop it.</p>
  
  <p>Is there any way to do it with '<code>shell_exec</code>' or '<code>exec</code>'?</p>