Monday, June 22, 2020

[Resolved] suexec + fcgid : How to fix "mod_fcgid: error reading data from FastCGI server" error

If you are using php-fcgid with suexec and you get the following error :


End of script output before headers:

mod_fcgid: error reading data from FastCGI server

exit(communication error), terminated by calling exit(), return code: 109

Check the followings:

1. /usr/sbin/suexec has +s flag set (you can set it by running chmod 4550 /usr/sbin/suexec )

2. the php-cgi binary path exists in your php-fcgid script

3. mod_fcgid is installed and enabled on your server

No comments:

Post a Comment

How to export Apple Health / Google Fit training activity to TCX format

  I own a Xiaomi Smart Band 7, and recently, my Mi Fitness app stopped syncing running activities to Strava. Mi Fitness supports syncing dat...