Skip to content

Large uploads: raise php.ini max_input_time to avoid timeouts #1263

@lucifer4330k

Description

@lucifer4330k

php.ini sets max_input_time = 60, which can abort large multipart/form-data uploads while PHP is still reading POST data. We recently raised upload_max_filesize and post_max_size to 5G; max_input_time should be raised accordingly.

Proposed change

  • Set max_input_time = 3600 (or -1 for unlimited) in docker/config/php.ini.

Acceptance criteria

  • Uploading multi-GB datasets does not time out while parsing request data.
  • No regressions for normal requests.

Reference

  • docker/config/php.ini currently: max_input_time = 60.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions