PHP script ending early, no evidence of an error and timeout set to 0
<p>time for another brain teaser of something I guess is quite rare.</p>

<p>Is there a hard limit in PHP? Or in Apache? I had a script running last night which lasted around 20 hours. Then it just stopped, mid script on a random line with no errors that I could find.</p>

<p>set_time_limit(0); was set in the script but I'm starting to wonder if there is another limit somewhere else for around 20 hours...</p>

<p>any ideas?</p>

<p>Many thanks in advance.</p>

<p>edit: this is run as a wget.</p>

<p>edit2: I am going to look at the memory issue and get back to you, thanks for the help thus far!</p>

<p>edit3: Oh I should point out this script is gathering data and storing it in an array, the longer it is running the more it is storing so yeah, I'm kinda palm facing on the "used up all the memory" answers here...</p>

<p><strong>SOLUTION: Setting a larger memory for the operation fixed this. Thank you everyone.</strong></p>
