I am getting a cgi timeout when using CGI PHP

If you're running CGI PHP and encountering errors like:

[error] [client ::1] FastCGI: incomplete headers (0 bytes) received from server "/Applications/MAMP/fcgi-bin/php5.6.30.fcgi" FastCGI: comm with server "/Applications/MAMP/fcgi-bin/php7.0.15.fcgi" aborted: idle timeout (30 sec)

You need to enable Xdebug to resolve this issue. To do so, go to the PHP settings in MAMP PRO and check the "Xdebug"box. This should prevent the timeout errors when using CGI PHP.

Article Details

Article ID:
162
Category:
Rating :