Have a PHP routine that generates emails using SwiftMailer. It works fine until I try to add large attachments, or a number of smaller attachments, that total around 3 meg. Then it times out with a FastCGI error. Here is the error:
The FastCGI Handler was unable to process the request.
• The FastCGI process exceeded configured activity timeout
• Error Number: 258 (0x80070102).
• Error Description: The wait operation timed out.
HTTP Error 500 - Server Error.
Internet Information Services (IIS)
I searched here and found an accepted solution (a link to MS Solutions Center) which says to edit the fcgiext.ini file, but I've done searches on the server and they did not locate that file. Where is it supposed to be?
One more time, just for posterity, can someone detail for me and others using Experts Exchange just exactly what needs to be done on the server (in PHP, MySQL and/or other server files) to prevent timeouts. Would be very helpful if normal file locations were included.
Also, should I try to use PHP code on the page to adjust the timeout for these time-consuming operations then change it back or just set it at whatever the max time I think it may require and leave it there.
We have a dedicated server, so my web host will do just about anything we want. I just need to be able to tell them what, specifically, they need to do.
If you need more info (php.ini, other settings) just let me know.