Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:troubleshooting:upload-large-file [2020/08/22 16:12] qtwrk created |
litespeed_wiki:troubleshooting:upload-large-file [2020/08/22 16:13] qtwrk [On external app part (typically PHP), you may need to check :] |
||
---|---|---|---|
Line 11: | Line 11: | ||
2. **post_max_size** | 2. **post_max_size** | ||
- | 3. **max_execution_time** (some PHP script may need to do some afterward process, like resizing or watermarking, somax_execution_time could also affect it) | + | 3. **max_execution_time** (some PHP script may need to do some afterward process, like resizing or watermarking, so max_execution_time could also affect it) |
4. **memory_limit** | 4. **memory_limit** | ||
- | 5. **upload_tmp_dir** (by default this would be **/tmp** , maybe system comes with default as 2GB in size , which if you upload a file bigger than 2GB, then it will undoubtedly fail because not enough disk space to save temporary file.) | + | 5. **upload_tmp_dir** (by default this would be **/tmp** , many system comes with default as 2GB in size , which if you upload a file bigger than 2GB, then it will undoubtedly fail because not enough disk space to save temporary file.) |
===== On LiteSpeed WebServer part, you may need to check:===== | ===== On LiteSpeed WebServer part, you may need to check:===== | ||
- | 1. **Swapping Directory** in **Server Configuration** > **General** (some reason for PHP's **upload_tmp_dir** ) | + | 1. **Swapping Directory** in **Server Configuration** > **General** (same reason for PHP's **upload_tmp_dir** ) |
2. **Max Request Body Size (bytes)** in **Server Configuration** > **Tuning** | 2. **Max Request Body Size (bytes)** in **Server Configuration** > **Tuning** |