[Wed Mar 24 10:02:05.288848 2021] [fastcgi:error] [pid 17222] [client ::1:61936] FastCGI: comm with server "/Applications/MAMP/fcgi-bin/php7.4.12.fcgi" aborted: idle timeout (30 sec)
[Wed Mar 24 10:02:05.289490 2021] [fastcgi:error] [pid 17222] [client ::1:61936] FastCGI: incomplete headers (0 bytes) received from server "/Applications/MAMP/fcgi-bin/php7.4.12.fcgi"
[Wed Mar 24 10:02:05.289490 2021] [fastcgi:error] [pid 17222] [client ::1:61936] FastCGI: incomplete headers (0 bytes) received from server "/Applications/MAMP/fcgi-bin/php7.4.12.fcgi"
Go to File → Edit Template → Apache → httpd.conf
Comment out the line MAMP_FastCgiServer_MAMP
nano /Applications/MAMP/fcgi-bin/php7.4.12.fcgi
Add -idle-timeout:
exec /Applications/MAMP/bin/php/php7.4.12/bin/php-cgi -c "/Library/Application Support/appsolute/MAMP PRO/conf/php7.4.12.ini" -idle-timeout 3600
If that doesnt work, try to enable Xdebug:
PHP → Extensions → Xdebug (Debugger)