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

后端 未结 4 1303
萌比男神i
萌比男神i 2020-12-24 04:46

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 alway

4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-24 05:08

    I found another solution, which is a less hacky I think.

    You can edit MAMP/fcg-bin/phpx.x.x.fcgi and add -idle-timeout 3600 to the exec line.

    The result would be like :

    exec /Applications/MAMP/bin/php/php5.5.10/bin/php-cgi -c "/Library/Application Support/appsolute/MAMP PRO/conf/php5.5.10.ini" -idle-timeout 3600

    That actually works on my setup. Damn you FastCGI timeout error !

    Update: For MAMP 4.x, you will need to enable Xdebug in MAMP PHP settings, save, quit MAMP and start it again (via https://stackoverflow.com/a/44341930).

提交回复
热议问题