title: Plesk 9.5 IIS 7 Fast CGI timeout error 500
body: <p>I'm running the following setup:
  - Windows 2008 web edition
  - IIS 7
  - Plesk 9.5
  - FastCGI</p>
  
  <p>PROBLEM DESCRIPTION</p>
  
  <p>When running a script that takes longer than 30 seconds, I get the 500 internal server error message and not the "normal" response ("max execution time of 30 seconds is reached"). Also, this message always appears after about 40 secondes. Also, after putting set_time_limit(3600); into the code this same results happen.</p>
  
  <p><br/>
  ACTUAL RESULT</p>
  
  <p>Both with and without the set_time_limit code:</p>
  
  <p>After about 40 seconds a 500 internal server error appears</p>
  
  <p><br/>
  EXPECTED RESULT</p>
  
  <p>Without set_time_limit:</p>
  
  <p>After 30 seconds a message will appear saying the 30 seconds max execution limit is reached.</p>
  
  <p>With set_time_limit:</p>
  
  <p>The full script runs with a max of the number of seconds set in the set_time_limit</p>
  
  <p><br/>
  ADITIONAL NOTE</p>
  
  <p>The problem is solved when running CGI in stead of FastCGI.</p>
  
  <p><br/>
  Can anybody help me?</p>