Codarz360 Codarz360 -4 years ago 883
Apache Configuration Question

How do you increase the apache fastCGI timeout on MAMP / MAMP Pro?

Does anybody know how to increase the apache fastCGI timeout on MAMP / MAMP Pro? I've looked everywhere but can't seem to find it.

Any help is appreciated as always.


Answer Source

This was so tedious but finally got it to work.


Under File > edit template > apache > httpd.conf

Find the block for mod_fcgi

<IfModule mod_fastcgi.c>

and comment out the following line (with the hashtag character):


Since you can specify which version of PHP you want to use with each domain, you need to specifically set a new fastcgiserver, per php version, with its corresponding -idle-timeout ### flag. These should be placed immediately after the previously commented mamp setting.


FastCgiServer /Applications/MAMP/fcgi-bin/php5.5.10.fcgi -idle-timeout 2400
FastCgiServer /Applications/MAMP/fcgi-bin/php5.4.25.fcgi -idle-timeout 3600

Save the file and MAMP PRO will require you to restart all of your servers in order for the changes to take place. Test it out and you should be able to do what you where doing with no 500 Errors.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download