title: PHP script stops running arbitrarily with no errors
body: <p>I have a PHP script that seemed to stop running after about 20 minutes. </p>
  
  <p>To try to figure out why, I made a very simple script to see how long it would run without any complex code to confuse me.</p>
  
  <p>I found that the same thing was happening with this simple infinite loop. At some point between 15 and 25 minutes of running, it stops without any message or error.  The browser says "Done".</p>
  
  <p>I've been over every single possible thing I could think of:</p>
  
  <pre><code>set_time_limit ( session.gc_maxlifetime in the php.ini)
  memory_limit
  max_execution_time
  </code></pre>
  
  <p>The point that the script is stopped is not consistent.  Sometimes it will stop at 15 minutes, sometimes 22 minutes.</p>
  
  <p>Please, any help would be greatly appreciated.</p>
  
  <p>It is hosted on a <code>1and1</code> server. I contacted them and they don't provide support for bugs caused by developers.</p>