I've got large file uploads working on my shared account just beautifully.
Moved all my code to my new VPS, and adjusted my php upload limits. I changed those like so.
- Create /home/webuser/.php/5.3/phprc
- Added the following to phprc:
max_execution_time = 1600
max_input_time = 1600
memory_limit = 350M
post_max_size = 580M
upload_max_filesize = 550M
upload_tmp_dir = /home/mywebuser/tmp/
Now, I can successfully upload files 30MB in size. But when I get about 100MB to upload, they start failing to upload. I frequently see errors similar to this in my error_log:
ModSecurity: Input filter: Failed writing 1460 bytes to temporary file
I believe I read somewhere that the tmp directory suhosin uses for uploads is only ~100MB in size.
So, my question is two fold.
What would cause my uploads to not work on the VPS but to work fine on my shared account?
Can anyone help me figure out what suhosin settings I need to modify? Even if I knew what to modify, I have no idea where those files are on my VPS.
Thanks to anyone who can offer some insight!