How to change the timeout limit or correct 500 response code in MAMP PRO 5.7?

I use MAMP PRO 5.7 (macOS Catalina 10.15.4), working with sites on WordPress. Often when "off" 500 response code (Internal Server Error). However, I can 5-10 times to reload the page and at some point it will work and I can work with it.

Tried to change PHP version from 7.2 to 5.6 or above - 7.4 - did not 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

In particular, the end of this string -idle-timeout 3600

In httpd.conf recommended salmontrout line MAMP_FastCgiServer_MAMP and under it add the following:
FastCgiServer /Applications/MAMP/fcgi-bin/php7.2.22.fcgi -idle-timeout 3600

Nothing.

The same problem occurs when I want to do import the database using phpMyAdmin, and sometimes the database can be downloaded, but not completely.

I value in the file /Applications/MAMP/bin/phpMyAdmin/config.inc.php from 300 to 0, but this also gave no result:

$cfg['ExecTimeLimit'] = 0;

Yesterday I reinstalled MAMP PRO, it didn't help. The problem arose long ago, but only now it became impossible to work due to the perpetual jumping 500 response code. This happens with almost all sites that I work with.

The last line of the log apache_error.log:

[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.2 o 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.2 o 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.2 o 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.2 o DAV/2 mod_perl/2.0.11 Perl/v5.24.0 configured -- resuming normal operations


I would be very grateful for any help!
April 19th 20 at 12:21
0 answer

Find more questions by tags MAMPApache