title: PHP Script ends before timeout without error
body: <p>I have a PHP Script, it needs execution time of at least 1000 seconds to complete.</p>
  
  <p>It terminates after around 265 seconds each time with no errors. Since I am using loops I tested number of iterations and it is independent of that, further ruling out a possibility of occurrence of an error in the loop.</p>
  
  <p>I have set max_execution_time to 10800 in php.ini, and also changing memory_limit doesn't affect the results.</p>
  
  <p>Please help! I have scratched my head thoroughly!</p>