title: Very large PHP script returns 500 internal server error
body: <p>I am using Cron job to push data to Geckoboard from different applications like - Prosperworks, Chargebee, Intercom. I do this via making API calls to these applications. These scripts are very large since they fetch huge amount of data. So I have set the set_time_limit method to 0 and it works good on local server and when I hit the URL from my Subversion repo. </p>
  
  <p>But when I try to hit the same URL on live server it throws 500 internal server error. I tried to fetch only a few records on live and it worked. But I tried to fetch all records whether in the browser or via cron in returns 500 internal server error for both methods. For sure it has nothing to do with the code because same file works on local server.</p>
  
  <p>I am running cron job from cpanel via wget. URL I am trying to hit is <a href="http://donesafe.io/geckoboard/partner/new.php" rel="nofollow">donesafe.io/geckoboard/partner/new.php</a></p>
  
  <p>Thanks!</p>