I am trying to upload the largest file I can through apache using php and a flash upload program.
What variables do I need to adjust in my Apache configs or in my php configs to allow such a large upload size?
In your php.ini file, you need to change the upload_max_filesize and post_max_size fields. It should look like this:
Depending on your already existing settings you might need to also make changes in php.ini to the Resource Limits section, such as max_execution_time, max_input_time, and memory_limit.
Then restart Apache:
On Debian GNU/Linux, we have the file:
in which we need to adjust the values for the following settings:
And needless to say, memory_limit should be higher that those who follow, and max_post_size should be higher than upload_max_filesize. You as the administrator will need to determine those necessary sizes.