On 12 May 2004 16:48, Robert Sossomon wrote: > It's fixed now.. > > If using Apache on RedHat here is everything to fix at once: > > FIRST AND FOREMOST DECIDE THE MAX SIZE YOU WANT IN MB, ADD A COUPLE > MORE TO IT, AND THEN CONVERT TO BYTES (MB * 1024 * 1024) > > 1. httpd/conf.d/php.conf > LimitRequestBody ?????????????? #byte size you calculated > > 2. /etc/php.ini > max_file_size = ???M #Max size in MB > post_max_size = ???M #Max size in MB
post_max_size should be larger than max_file_size, since you need to allow space for any other fields in the form. If any of your forms have more than one file upload field, post_max_size should be the appropriate multiple of max_file_size, plus some overhead. Apache's LimitRequestBody should also be adjusted accordingly. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php