Problems with the server when executing PHP scripts

Hello. I am having problems with the server when executing PHP scripts. Specifically, when executing scripts that run for 15 minutes and can consume a significant amount of memory (up to a gigabyte), a 504 error occurs. Could you help configure cloudflare in a way that avoids this problem? What is required is a configuration that will ensure that scripts run consistently despite their duration and memory consumption.

You will need to make a different DNS record that isn’t proxied and call that with your PHP script. The default timeout for Cloudflare is 100 seconds and you can’t change that.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.