This topic is locked

FLV upload file size limit

9/29/2006 11:45:34 AM
PHPRunner General questions
O
ombilicus author

Hi,
I have problems uploading a flv video of 20mb. I changed the MAX FILE SIZE to 204820482048 which should give me unlimited size. Does anyone know if there's a limit for uploading via http, or maybe my server would have this limit? Usually, when the max file size isn't high enough in PHP it generates an error. In this case it just instantly loads a connection timeout sort of page.
Thanks

A
andyjames 9/29/2006

Hi
The problem might lie in the configuration of your php.ini file.

I run an application on a hosted server but was able to provide an override for the specific settings by including the following php.ini file in the directory. If you run your own server, you can modify your php.ini file yourself

[PHP]

upload_max_filesize = 25M

post_max_size = 26M

max_execution_time = 3600 ; Maximum execution time of each script, in seconds

max_input_time = 3600; Maximum amount of time each script may spend parsing request data

memory_limit = 26M ; Maximum amount of memory a script may consume (8MB)


Hope that does the trick for you.