Fix: FastCGI: incomplete headers (0 bytes) received from server – MAMP Pro
If you are experiencing 500 Internal Server errors on your websites in MAMP Pro, review your PHP error log. If you see the following errors around the same time you received the 500 erros on your websites, follow the steps below.
[date] [error] [client] FastCGI: comm with server "/Applications/MAMP/fcgi-bin/php7.1.8.fcgi" aborted: idle timeout (30 sec)
[date] [error] [client] FastCGI: incomplete headers (0 bytes) received from server "/Applications/MAMP/fcgi-bin/php7.1.8.fcgi"
[date] [error] [client] [notice] caught SIGTERM, shutting down
[date] [error] [client] [notice] FastCGI: process manager initialized (pid 21215)
[date] [error] [client] [notice] Digest: generating secret for digest authentication ...
[date] [error] [client] [notice] Digest: done
- In MAMP Pro, select PHP under LANGUAGES.
- Enable Xdebug (Debugger).
For more information visit MAMP Pro documentation here on this.
Comments 3
Doesn't help anyway
It helped! Why does it work now?
Hey this helped! Thanks!