


You should find it runs again without issue. Open up Activity Monitor and search for php-cgi.Obviously, you need to fix the script that is timing out but to get MAMP going again without a restart or having to edit nf: It seemed to only fix itself after restarting the actual MAMP application as shown below. However, restarting the servers in MAMP did nothing. It turned out it was caused by a PHP script I had that was stuck in an infinite loop and timed out.
#Mamp edit php.ini pro#
In Mamp pro usally this problem is for the setting: "Individual Php version for every Host (CGI mode)". I then checked, save, quit and relaunch MAMP PRO and it worked. I did try that before, but did not seem to work on first attempt. The only way it seem to be possible is by checking Xdebug in PHP tab. Step 1: Open the Xampp control panel click on the Apache config button and click on PHP (php. I tried to edit MAMP/fcg-bin/phpx.x.x.fcgi and add -idle-timeout 3600, since it seems a little cleaner #!/bin/shĮxec /Applications/MAMP/bin/php/php5.4.45/bin/php-cgi -c "/Library/Application Support/appsolute/MAMP PRO/conf/php5.4.45.ini" -idle-timeout 3600Įxec /Applications/MAMP/bin/php/php5.6.30/bin/php-cgi -c "/Library/Application Support/appsolute/MAMP PRO/conf/php5.6.30.ini" -idle-timeout 3600īut it doesn't seem to have any effect i still get the same errorįastCGI: comm with server "/Applications/MAMP/fcgi-bin/php5.6.30.fcgi" aborted: idle timeout (30 sec)Īnd i also try to edit apache > nf #MAMP_FastCgiServer_MAMPįastCgiServer /Applications/MAMP/fcgi-bin/php5.4.45.fcgi -idle-timeout 2400įastCgiServer /Applications/MAMP/fcgi-bin/php5.6.30.fcgi -idle-timeout 3600 Let me show you how I solve it easily on my Xampp. But my configuration is quite differente because I'm using MAMP Pro 4 and I have multiple PHP versions running
