0

我的服务器:

  • 中央操作系统
  • 网络服务器:Apache 2.4.26 和 Php 7.1.9,运行Server MPM: event;使用mod_fcgid

我运行 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

请帮我解决这个问题!谢谢!

4

1 回答 1

0

我设法通过添加FcgidBusyTimeout解决了这个问题。以防万一有人和我有类似的问题。

这是我在 apache.conf 上的设置:

<VirtualHost *:80>
.......
<IfModule mod_fcgid.c>
FcgidBusyTimeout 3600
</IfModule>
</VirtualHost>
于 2018-06-23T14:40:23.257 回答