Skip to content
Advertisement

(70007)The timeout specified has expired: mod_fcgid: can’t get data from http client

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

  1. max_execution_time = 1500; or more as per your need
  2. max_input_time = 1500; or more as per your need
  3. post_max_size = 500M; or more as per your need
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement