This is a discussion on File Uplaod within the PHP General forums, part of the PHP Programming Forums category; I am trying to uplaod a 3 MB file to a server running apache and PHP. I seem to hitting ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am trying to uplaod a 3 MB file to a server running apache and PHP. I
seem to hitting a 1.7 MB limit on the file size. I do not have max_file_size set in my php.ini. I am using the Jakarta HTTPClient java classes as the client. Any help would be much appriciated. Thanks Rick Laird |
|
|||
|
On Sunday 11 January 2004 04:30, Rick Laird wrote:
> I am trying to uplaod a 3 MB file to a server running apache and PHP. I > seem to hitting a 1.7 MB limit on the file size. I do not have > max_file_size set in my php.ini. I am using the Jakarta HTTPClient java > classes as the client. "upload_max_filesize" defaults to 2MB, so to upload something larger you _need_ to set it. Also read the chapter on "Handling file uploads" to see what other settings needs to be changed as well. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* When given a choice -- take both! -- Anti- Murphy's Laws n2 */ |
|
|||
|
Rick Laird wrote:
> I am trying to uplaod a 3 MB file to a server running apache and PHP. I > seem to hitting a 1.7 MB limit on the file size. I do not have > max_file_size set in my php.ini. Not having upload_max_filesize set (which I assume is the setting you are referring to) will cause PHP to use the default value of 2MB. Try setting it and see what happens. -- Stuart |