I'm trying to run a PHP script and it does run for about 60 seconds or so, and then it goes to a page that says there's a 504 Gateway Time-out.
I've been having this issue all day and I've implemented various things I've found around the internet but it still doesn't work. These including editing the fcgid.conf file, editing .htaccess and even logging in to the Plesk panel, and editing the settings in there.
For testing purposes I'm giving it 2G and 600 seconds to run, which should be enough space and time. But it doesn't seem to be working at all.
I've read online that it could be something to do with nginx, and it does say "Nginx" on my error page, but I'm not really clued up on it to be honest.
Any help would be appreciated.
Thanks