I have a script that is trying to upload large files (>2M). I have the max_upload_size set in php.ini, but I believe that some apache configuration is limiting the maximum upload size. Does anyone know what that config is?
TIA
D
I think your problem is the timeout value in httpd.conf.
default is set to 300 sec increase timeout and try again .
hope that works for you !
Actually, I should have specified more. What is happening is that if the file size is too large, I get a "The page cannot be displayed" from the server. It is not timing out, the error happens immediately. If I use a smaller file, it works fine.
also check out the php function set_time_limit(). it might make a difference here.
another problem might be that some browsers (cough later versions of I.E.) will timeout "just because" as they expect a response back from the server in a certain time period.
http://www.php.net/manual/en/function.set-time-limit.php
Sounds like you ran into a limit set by the Apache config setting "LimitRequestBody". This limits the size that will be accepted by appache to try to stop people from breaking your system. If you know the largest size of the file you will be uploading set it just larger than that. Otherwise remove it from the apache config to remove any limit.