Arriving at this thread when searching "phpBB backup 504", I increased the PHP timeout values and it resolved my 504 gateway timeout issue.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.I checked with my host, and they increased the php timeout from 120 seconds to 300
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