I am a Windows/ASP guy who just recently started messing around with PHP, so
maybe I am completely off path, however I found this post:

On my system (Solaris 7/SPARC, Apache 1.3.9), in order to be able to upload
files larger than 8 MB, you need to increase the memory_limit in php3.ini to
a value larger than 8 MB.

For example, if MAX_FILE_SIZE is set to 209715199 in your form and
upload_max_filesize is set to 209715200 in php3.ini, the largest file that
can be uploaded is 7996 kilobytes or about 8 MB. Increasing the memory_limit
(I increased mine to 100 MB) allows me to upload files that are up to 100 MB
in size.

You can find it here:


"Scott Kalbach" <[EMAIL PROTECTED]> wrote in message
> Hi, I am having a problem with http uploads:
> First I am using Mandrake 8.0 with apache 1.3.19 and php 4.0.4.
> I have an upload script which I need to allow large files to be uploaded.
> have set the <input type="hidden" name="MAX_FILE_SIZE" value="104857600">
> Which I believe should be 100mb.
> I have also set the same value in the php.ini file for the
> memory_limit and upload_max_filesize directives and also set a longer
> execution time out.
> No matter what valuesI give these directives I still can't upload anything
> over 8 megs which was the default before I changed it. I have restarted
> apache and rebooted.
> Any help would be appreciated.
> Scott

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to