解决php服务器返回500错误,500 Internal Server Error (mod_fcgid: read data timeout in 31 seconds)
apache错误日志里看到mod_fcgid:readdatatimeoutin31seconds,那么八成是php执行时间太短导致的,我们通常会加大php参数max_execution_time=90或者0,同时查看apacheerror日志,如果错误提示为Couldnotreliablydeterminetheserver'sfullyqualifieddomainname,using192.