Jump to content

html form post filesize


sheek85

Recommended Posts

Hey guys,

 

possibly a redundant question, but I have been trying and searching for days to upload large files to my php server using html form.

 

things I have tried: all relevant php.ini settings (max_upload_filesize, post_upload_size, memory limit, execution time, etc)

conclusion: after trying these settings I reached the conclusion that post size limit is 2047M, as others have said

 

next:  - I have installed ubuntu 9.10 64-bit

        - I have compiled apache and php using CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"

conclusion: I believe I have apache and php both running in 64 bits, but I STILL can't set the postsize limit above 2047M

 

Any new input would be greatly appreciated

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/181231-html-form-post-filesize/
Share on other sites

I get errors from other parts of the code that rely on a successful file transfer, such as unzipping it etc. The file simply doesn't make it to the server. It would be great if you could try uploading a large file (>2G) on your setup, you will see the problem immediately.

Are you expecting general users to need to upload that size of a file or just you/administrator/site-owner?

 

You would generally use FTP to move such a large file or break it into manageable pieces then reassemble it on the server after all the pieces have been uploaded.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.