This tutorial will guide you to fix the error “mod_fcgid: read data timeout in 31 seconds” on virtualmin server or any other.if you getting the error message “mod_fcgid: read data timeout in 31 seconds” in apache log
while executing the sql query through php script on virtualin server. So follow the below stepsto fix the issue.
Logged into Virtualmin >> Server Configuration >> Website Options, and set “Maximum PHP script run time”.
This setting will change both the FCGID timeouts as well as the timeouts in the php.ini file.
That’s it.
