Large uploads: raise php.ini max_input_time to avoid timeouts
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 755
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
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-1for unlimited) indocker/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.inicurrently:max_input_time = 60.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open docker/config/php.ini and review the current max_input_time setting alongside the existing upload_max_filesize and post_max_size values. Update the input timeout as proposed, then verify that multi-GB multipart uploads do not time out while normal requests continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100