1

I need to change a setting in php.ini to give our script more time to work with the upload.

Would that be max_execution_time? Or max_input_time?

dallen
  • 2,621
  • 7
  • 37
  • 47

2 Answers2

3

Also, in case you are still having problems, ensure you have upload_max_filesize and post_max_size set at sufficient levels.

Toby Behan
  • 137
  • 1
  • 15
1

You should be looking for max_execution_time. No need to change it in php.ini though if you don't want to. I use this line on a few scripts:

ini_set("max_execution_time", "3000");
citizenen
  • 703
  • 6
  • 24
  • Note that "max_execution_time" starts counting *after* the upload to the webserver has finished and php is invoked for parsing the file. Means upload time doesn't count against max_execution_time. See the [post of @Pekka for details](http://stackoverflow.com/a/4220463/620410) – Tapper Oct 15 '12 at 08:29