Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2227

[3.2.x] Support Forum • Re: 504 Gateway timeout error

$
0
0
I checked with my host, and they increased the php timeout from 120 seconds to 300
If your host believes that increasing the PHP timeout value will resolve a Gateway timeout then it is time to find a new host that knows how to configure a server.
Arriving at this thread when searching "phpBB backup 504", I increased the PHP timeout values and it resolved my 504 gateway timeout issue.

Specifically:

I set the following two variables in php.ini:

max_execution_time = 3000
max_input_time = 3000

and I added the following lines to nginx.conf:

fastcgi_read_timeout 3000;
proxy_read_timeout 3000;

If you are instead running Apache, your solution will involve setting the following line in apache2.conf:

Timeout 3000

Statistics: Posted by Robert K S — Wed Jul 31, 2024 7:10 pm



Viewing all articles
Browse latest Browse all 2227

Trending Articles