Page 1 of 1

Problem with uploading large files (HTTP POST) to Apache

Posted: Thu Feb 06, 2003 4:29 am
by baettig
Hi there

I wrote a PHP script for uploading files to a apache server. Everything works fine as long as the filesize is small (60kB are ok).

I tried everything on a different Linux distribution with a fast network and it works fine for Files of 8MB. Thus I think that my scripts are fine and that the problem lies somewhere in the configuration.

I checked the following options in php.ini:
max_execution_time = 30
memory_limit = 8M
post_max_size = 8M
file_uploads = On
upload_max_filesize = 20M

I could not find any limitations in the httpd.conf file...

Any ideas?

TIA

Reto

Posted: Fri Feb 07, 2003 5:24 am
by redcircle
What is the actual problem you are having. Time out? Not uploading? What error are you getting?

Posted: Fri Feb 07, 2003 5:46 am
by baettig
Netscape reports a "broken pipe" after a short time (much less than it would take to upload the file)