title: Running PHP script from command line as background process
body: <p>I'm trying to run a PHP script continually in the background via the command line in Linux. I have tried the command <code>php filename.php &amp;</code> but it seems like the script execution terminates very quickly, while it should keep running until the process is terminated.</p>
  
  <p>Any suggestions?</p>