500 Server error: Premature end of script headers:

前端 未结 8 1654
慢半拍i
慢半拍i 2020-12-02 23:23

I have a website in php that works with a solr indexation server, based on CodeIgniter.

We got a lot of new content, so we flushed the database, and had to reindex t

相关标签:
8条回答
  • 2020-12-03 00:12

    I had the same problem, just restart the apache server and it works

    0 讨论(0)
  • 2020-12-03 00:18

    This error is usually (sometimes) caused by the FastCGI setup of the FcgidIOTimeout directive (old name: IPCCommTimeout).

    That is the number of seconds for IO timeout, default is 40 seconds. Timeout means that

    "The FastCGI application must begin generating the response within this period of time. Increase this directive as necessary to handle applications which take a relatively long period of time to respond."

    You can try to solve it putting this into your vhost.conf:

    <IfModule mod_fcgid.c>
      # 5 minutes for IO timeout, default is 40 seconds
      FcgidIOTimeout 300
    </IfModule>
    

    You can increase it as you need and then restore the original value once the reindexing process is complete.

    0 讨论(0)
提交回复
热议问题