PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am running a script with takes in queries from a text file and inserts the resulting data into another table. There are hundreds of queries to be processed. I get this error:
CGI Timeout
The specified CGI application exceeded the allowed time for processing. The server has deleted the process.
I am using IIS / PHP 5 / SQLSERVER / WINDOWS
I have changed the CGI execution time to a very high number. But still it times out after approx 5 minutes.
This is because the CGI time limit has been set on a lower level (likely the CGI handler). There is no way you can override this yourself, trying contacting your host and seeing if they'll ease up (I doubt it, because these sorts of restrictions on shared hosting machines are to prevent one user from using up all the CPU)
I have full access to the server. It is dedicated for my software. This is for intranet. Pls. let me know if I can change anything else to prevent the time out. Thanks.
I've had this problem with IIS as well. Never did figure it out. I think I got to do something else. But the last thing I was looking into was trying to play with the metabase.
Hope that helps.
At anyrate if you do figure it out please post....
The task right now is just to accomplish running of scripts on my machine. Once that is accomplished I can replicate it on the server, which
is inhouse and physically accessible to me.