$_FILES in Apache 2.0

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
bondu
Forum Newbie
Posts: 12
Joined: Thu May 23, 2002 3:56 pm
Location: Los Angeles

$_FILES in Apache 2.0

Post by bondu »

I have upgraded to RH8.0 with Apache 2.0.
php is working just fine, except for file uploads.

when I try to upload a a file over 512K, I am getting this error in the apache logs:
Requested content-length of 6088885 is larger than the configured limit of 524288, referer: http://www.foo.com/upload.php
also, the error is returned right away. It doesn't have time to upload the file.

here are the relavant php.ini settings (they are xtra high for testing reasons):
memory_limit = 50000000
post_max_size = 50000000
upload_max_filesize = 48397152

Is there something new with Apache2 that needs to be set?
is there something else I am missing?
same script used to work just fine with apache1.x

thanks
Post Reply