skip to Main Content

I have a Magento 2 installation running on CentOS and Apache 2.4.37

I keep getting the 504 Timeout when I try to edit products on the backend. I did some research and there are folks that suggested increasing the timeout on httpd.conf.

So my question is, does a Timeout exist on default or is that something we can add in afterwards.

Thank you!

2

Answers


  1. The default timeout for Apache 2.4 is 60s, see https://httpd.apache.org/docs/2.4/en/mod/core.html#timeout

    You should find a line in your httpd.conf starting with "Timeout" followed by a number that designates the timeout in seconds, which you can change. After editing the file, reload Apache for the new timeout to take effect.

    Login or Signup to reply.
  2. Somehow TimeOut is missing in the httpd.conf, and you would need to add this field in the conf file.

    I added TimeOut below and it works,

    <Files ".ht*">
    Require all denied
    <#/Files>

    TimeOut 600

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search