Problem with uploading large files (HTTP POST) to Apache

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
baettig
Forum Newbie
Posts: 2
Joined: Thu Feb 06, 2003 4:29 am

Problem with uploading large files (HTTP POST) to Apache

Post 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
User avatar
redcircle
Forum Commoner
Posts: 43
Joined: Fri Jan 31, 2003 8:47 pm
Location: michigan, usa

Post by redcircle »

What is the actual problem you are having. Time out? Not uploading? What error are you getting?
baettig
Forum Newbie
Posts: 2
Joined: Thu Feb 06, 2003 4:29 am

Post by baettig »

Netscape reports a "broken pipe" after a short time (much less than it would take to upload the file)
Post Reply