我的服务器:
我运行 Xenforo,但它无法创建新线程!每个创建新线程的操作都会在 PHP 日志中输出错误:
[fcgid:warn] [pid 10863:tid 140645245003520] (104)Connection reset by peer: [client ] mod_fcgid: error reading data from FastCGI server, referer: https://mywebsite.com/create-thread
[core:error] [pid 10863:tid 140645245003520] End of script output before headers: index.php, referer: https://mywebsite.com/create-thread
在error_log中
[fcgid:error] [pid 9161:tid 140645850757056] mod_fcgid: process /usr/local/safe-bin/fcgid71.sh(11688) exit(communication error), get unexpected signal 11
请帮我解决这个问题!谢谢!
最佳答案
我设法通过添加 解决了这个问题FcgidBusyTimeout .以防万一有人和我有类似的问题。
这是我在 apache.conf 上的设置:
<VirtualHost *:80>
.......
<IfModule mod_fcgid.c>
FcgidBusyTimeout 3600
</IfModule>
</VirtualHost>
关于apache - 服务器错误 : Connection reset by peer | End of script output before headers,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46069590/