title: PHP Max Execution Reached: Script Ignoring PHP.ini FIle and Set Time Limit
body: <p>I make 7 get requests at the same time to one PHP script - two of the requests are successful and the other requests I get an output of Max Execution of 60 seconds exceeded!</p>
  
  <p>The thing is I have put this at the top of my script:</p>
  
  <pre><code>set_time_limit(300000); 
  </code></pre>
  
  <p>I have also set this in my PHP.ini file and have restarted apache several times.</p>
  
  <pre><code>max_execution_time = 300000
  </code></pre>
  
  <p>Why does it keep giving me this error?!?</p>
  
  <p>Thanks all</p>
  
  <h2>Update</h2>
  
  <p>I have just looked at firebug and it looks as if all requests are not fully fired i.e. it shows the request is still trying to be made. In this case, is it possible for PHP to throw that error if a request has been made to it but it has not started execution!? </p>
  
  <p>It gives me that error on line 1 - so it didn't even run any part of this script - is this what it means?</p>
  
  <h2>Update 2</h2>
  
  <p>Just showing the full error:</p>
  
  <blockquote>
    <p>[Mon Nov 23 13:05:37 2009] [error] [client 127.0.0.1] PHP Fatal error: 
    Maximum execution time of 60 seconds
    exceeded in
    C:\wamp\www\webs\process_txt.php
    on line 1, referer:
    <a href="http://localhost/webs/front-end/path.php" rel="nofollow noreferrer">http://localhost/webs/front-end/path.php</a></p>
  </blockquote>
  
  <p>Why does it say line 1?</p>