Page 1 of 1

Uploading Files Settings

Posted: Thu Oct 04, 2007 10:28 am
by lettie_dude
Hi

I'm in the process of setting up a client lounge to allow clients to upload files to the server. The code I have written works fine. My problem though is I need to be able to allow for files of upto 50MB to be uploaded. Currently the code times out with no error messages and the file is not being uploaded. Having done some forum searching beleive it will be something to do with phps internal settings in the php_ini file. Here is where I need assistance.

To allow php to deal with 50MB uploads which settings do I need to change in the ini file. I have found some that look as though they need changing but do I need to change any more or any less and by what amount do I need to up the memory allocation for each?

post_max_size
upload_max_filesize
max_execution_time
memory_limit

Many Thanks

Posted: Thu Oct 04, 2007 10:54 am
by aceconcepts
Have you considered bandwidth?

Posted: Thu Oct 04, 2007 11:25 am
by lettie_dude
Bandwidth is not the issue here.

Just need to know what ones to set.

Posted: Thu Oct 04, 2007 11:36 am
by feyd
http://php.net/features.file-upload notes the directives which directly affect file uploads.