I have a Phonegap App running in android, and my backend is a php App using Yii framework.
When I try to upload 10 pics, sometimes it works well, sometimes, some pics fail to upload.
In my error_logs, I have this line :
[Mon Mar 03 16:59:22 2014] [warn] [client 148.240.71.124] (70007)The timeout specified has expired: mod_fcgid: can't get data from http client
I don’t know how to manage it. I tried to raise timeout values in : /etc/apache2/mods-enabled/fcgid.conf
but nothing changes after restarting apache In my apache2.conf, I have no part describing mod_fcgid. Should I add one?
Any suggestion???
Advertisement
Answer
You will need change few things in your php.ini file
- max_execution_time = 1500; or more as per your need
- max_input_time = 1500; or more as per your need
- post_max_size = 500M; or more as per your need