i have code that need more than 20 min to execute.
I try adding ini_set('max_execution_time', 5500);
or max_execution_time=0
but still getting 504 Gateway Time-out nginx/1.3.7
.
note that i use shared hosting. i can't use ssh or access direct to php ini for modify.
so , any idea how to fix this problem?
sometimes it do well but 95% of times it fail.
tnx in advance
EDIT:
i cant use linux command to edit php ini file , or use VIM