Answer the question
In order to leave comments, you need to log in
How to change timeout limit or fix 500 response code in MAMP PRO 5.7?
I use MAMP PRO 5.7 (under macOS Catalina 10.15.4), I work with sites on WordPress. Often, when working, a 500 response code (Internal Server Error) crashes. At the same time, I can reload the page 5-10 times and at some point it will work and I will be able to work with it.
Tried changing PHP versions from 7.2 to 5.6 or higher - to 7.4 - didn't help. Added PHP like this:
exec /Applications/MAMP/bin/php/php7.2.22/bin/php-cgi -c "/Library/Application Support/appsolute/MAMP PRO/conf/php7.2.22.ini" -idle-timeout 3600
-idle-timeout 3600
MAMP_FastCgiServer_MAMP
and write the following under it:FastCgiServer /Applications/MAMP/fcgi-bin/php7.2.22.fcgi -idle-timeout 3600
$cfg['ExecTimeLimit'] = 0;
[Wed Apr 15 23:26:07 2020] [notice] caught SIGTERM, shutting down
[Wed Apr 15 23:26:11 2020] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 15 23:26:11 2020] [notice] Digest: done
[Wed Apr 15 23:26:11 2020] [notice] FastCGI: process manager initialized (pid 9049)
[Wed Apr 15 23:26:11 2020] [notice] Apache/2.2.34 (Unix) mod_wsgi/3.5 Python/2.7.13 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.34 OpenSSL/1.0.2o DAV/2 mod_perl/2.0.11 Perl/v5.24.0 configured -- resuming normal operations
[Wed Apr 15 23:26:17 2020] [error] [client ::1] File does not exist: /Library/Application Support/appsolute/MAMP PRO/phpMyAdmin/import.
[Wed Apr 15 23:27:10 2020] [error] [client ::1] FastCGI: comm with server "/Applications/MAMP/fcgi-bin/php7.2.22.fcgi" aborted: idle timeout (30 sec)
[Wed Apr 15 23:27:10 2020] [error] [client ::1] FastCGI: incomplete headers (0 bytes) received from server "/Applications/MAMP/fcgi-bin/php7.2.22.fcgi"
[Wed Apr 15 23:30:21 2020] [notice] caught SIGTERM, shutting down
[Wed Apr 15 23:30:28 2020] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 15 23:30:28 2020] [notice] Digest: done
[Wed Apr 15 23:30:28 2020] [notice] FastCGI: process manager initialized (pid 9837)
[Wed Apr 15 23:30:28 2020] [notice] Apache/2.2.34 (Unix) mod_wsgi/3.5 Python/2.7.13 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.34 OpenSSL/1.0.2o DAV/2 mod_perl/2.0.11 Perl/v5.24.0 configured -- resuming normal operations
[Wed Apr 15 23:31:25 2020] [error] [client ::1] FastCGI: comm with server "/Applications/MAMP/fcgi-bin/php7.2.22.fcgi" aborted: idle timeout (30 sec)
[Wed Apr 15 23:31:25 2020] [error] [client ::1] FastCGI: incomplete headers (0 bytes) received from server "/Applications/MAMP/fcgi-bin/php7.2.22.fcgi"
[Wed Apr 15 23:38:11 2020] [notice] caught SIGTERM, shutting down
[Wed Apr 15 23:38:16 2020] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 15 23:38:16 2020] [notice] Digest: done
[Wed Apr 15 23:38:16 2020] [notice] FastCGI: process manager initialized (pid 23230)
[Wed Apr 15 23:38:17 2020] [notice] Apache/2.2.34 (Unix) mod_wsgi/3.5 Python/2.7.13 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.34 OpenSSL/1.0.2o DAV/2 mod_perl/2.0.11 Perl/v5.24.0 configured -- resuming normal operations
[Wed Apr 15 23:39:25 2020] [error] [client ::1] FastCGI: comm with server "/Applications/MAMP/fcgi-bin/php7.2.22.fcgi" aborted: idle timeout (30 sec)
[Wed Apr 15 23:39:25 2020] [error] [client ::1] FastCGI: incomplete headers (0 bytes) received from server "/Applications/MAMP/fcgi-bin/php7.2.22.fcgi"
[Wed Apr 15 23:40:26 2020] [error] [client ::1] FastCGI: comm with server "/Applications/MAMP/fcgi-bin/php7.2.22.fcgi" aborted: idle timeout (30 sec)
[Wed Apr 15 23:40:26 2020] [error] [client ::1] FastCGI: incomplete headers (0 bytes) received from server "/Applications/MAMP/fcgi-bin/php7.2.22.fcgi"
[Wed Apr 15 23:41:03 2020] [error] [client ::1] FastCGI: comm with server "/Applications/MAMP/fcgi-bin/php7.2.22.fcgi" aborted: idle timeout (30 sec)
[Wed Apr 15 23:41:03 2020] [error] [client ::1] FastCGI: incomplete headers (0 bytes) received from server "/Applications/MAMP/fcgi-bin/php7.2.22.fcgi"
[Wed Apr 15 23:41:40 2020] [error] [client ::1] FastCGI: comm with server "/Applications/MAMP/fcgi-bin/php7.2.22.fcgi" aborted: idle timeout (30 sec)
[Wed Apr 15 23:41:40 2020] [error] [client ::1] FastCGI: incomplete headers (0 bytes) received from server "/Applications/MAMP/fcgi-bin/php7.2.22.fcgi"
[Thu Apr 16 14:11:19 2020] [notice] Graceful restart requested, doing restart
[Thu Apr 16 14:11:21 2020] [notice] FastCGI: process manager initialized (pid 36545)
[Thu Apr 16 14:11:22 2020] [notice] Digest: generating secret for digest authentication ...
[Thu Apr 16 14:11:22 2020] [notice] Digest: done
[Thu Apr 16 14:11:22 2020] [notice] Apache/2.2.34 (Unix) mod_wsgi/3.5 Python/2.7.13 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.34 OpenSSL/1.0.2o DAV/2 mod_perl/2.0.11 Perl/v5.24.0 configured -- resuming normal operations
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question