Page 1 of 1

$_FILES in Apache 2.0

Posted: Thu Dec 19, 2002 7:42 pm
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