|
Re: 1.2.1 -- Large file attachments fail to upload [message #745 is a reply to message #744] |
Tue, 26 February 2002 10:56 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
add to buddy list ignore all messages by this user
|
|
ironstorm wrote on Tue, 26 February 2002 10:52 AM | I have an 11MB PDF document that I wanted to upload onto a forum at work...
I set the forum as follows:
Quote: |
Allowed File Types: * Maximum File Size 15000Kb Maximum Files per Message: 5
|
and I set my php max file upload parameter to be 15MB
However when I try to upload the file I get an IE error page (server not found), when I do it in Netscape 6.2 the it looks like the connection is dropped at the server and the page does not change.
I know smaller files up to 500kb work no problem.
|
Can you try uploading a file this large using a normal php file upload form? I suspect that may fail also, PHP uses HUGE amounts of a memory when uploading a file which cause all kinds of problems when uploading large files especially over remote connections.
FUDforum Core Developer
|
|
|
|
Re: 1.2.1 -- Large file attachments fail to upload [message #756 is a reply to message #754] |
Tue, 26 February 2002 15:22 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
add to buddy list ignore all messages by this user
|
|
ironstorm wrote on Tue, 26 February 2002 3:18 PM |
You're right...
The limitation appears to exist with PHP...
Even uploading a large file to localhost fails when max_post, max_mem and max_up sizes have been upped in PHP.ini
|
There were some threads a long time ago on PHP's mailing lists about this problem. The problem occurs because instead of writing data to file as php recieves it, it inmstead stores the urlencoded file in memory. Obviously using up a lot of RAM.
From what I recall, the problem begins to occur somewhere at a 5meg level. If you want to upload large files I am afraid you'll need to consider compressing them or doing so via FTP.
FUDforum Core Developer
|
|
|
|