I coded a script for database import, it makes a few jobs on database. When I work this script, after a few minutes I'm getting "504 Gateway Timeout Error".
I increased all timeout values on php.ini, also I increased execution times but it is still same.
You can increase maximum execution time in php.
ini_set('max_execution_time', 300); //300 seconds = 5 minutes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With