I'm having trouble with a file upload script I wrote which needs to be able to accept fairly large files (up to 100-200 Mb).
I know this is a common problem and I've done a fair bit of reading up on it, so I know about post_max_size, upload_max_filesize and all that. I'm in a shared hosting environment so I don't have direct access to php.ini, but my host at my request enabled htaccess override, so I should be able to override the global php.ini settings in my .htaccess file. But it's not working.
I've added the following to the .htaccess level in my public_html directory:
<Files hi_res_upload.php>
php_value max_execution_time 0
php_value max_input_time 0
php_value memory_limit 200000000
php_value post_max_size 200000000
php_value upload_max_filesize 200000000
LimitRequestBody 200000000
TimeOut 0
</Files>
But nothing's changed. I still can't upload large files. Does anyone know if there are any other settings I need to tweak or other approaches I can try to get this working?