Page 1 of 1

Uploading files larger than 1 mb while upload_max_file = 2mb

Posted: Thu Jul 10, 2003 6:44 am
by rcjazz
Can somebody please help me with the following. Im running PHP Version 4.3.2 on apache 1.3.27. i cant upload files larger then 1 mb.
my php.ini settings are:

post_max_size 8M
upload_max_filesize 2M

i tested on 2 servers both running the same configuration one has a memory limit 8M the other one memory_limit is not set.

When trying to upload i get something like, cant find page.

Files smaller then 1 mb work fine.

Please help, Thanx

Posted: Thu Jul 10, 2003 7:14 pm
by DuFF
The only possibility that I can think of is that it may be a problem of the script timing out. Try editing PHP.ini's max_execution_time to a longer time.

If it still doesn't work try a couple ideas from this page, especially the user comments. They can be extremely helpful sometimes.