I am trying to export an excel file using PHP excel library. I can export about 400 records. However when I go for more about 600 records, I see nginx timeout error. I have been trying to resolve this issue. Does anyone know how to resolve this?
So far I have played with php options like.. set_time_limit(0); and ini_set(‘memory_limit’,’-1′);
But still not able to resolve it.
Please help. Thanks in advance.
Thanks for the replies. I contacted my server company and they said they had added fastcgi_read_timeout 360; to nginx setting. and it works now.
However, the download initiates very slowly. I guess its because of the PHP Excel Library. Can anyone suggest how I can get it to respond faster?
Nginx error, so change nginx config
proxy_read_timeout