I am running Drupal 6.6 on a PC using XAMPP. The php.ini in \xampp\apache\bin has these settings:

post_max_size = 16M
upload_max_filesize = 32M

However, when I try to attach a file to a node, it indicates "The maximum upload size is 1 MB." I have successfully uploaded several files larger than 1 MB.

There is nothing in my .htaccess to override this, and there are no other php.ini files in use.

Comments

Aren Cambre’s picture

At first glance, this is either a bug or there are settings that affect this other than what's described in http://drupal.org/node/97193.

Damien Tournoud’s picture

Category: bug » support

Well, check your "Default maximum file size per upload" and "Default total file size per user" parameters in Admin / Site configuration / File upload. The admin user (uid = 1) can bypass those limits.

Aren Cambre’s picture

Project: Drupal core » Documentation
Version: 6.6 »
Component: upload.module » Correction/Clarification
Category: support » bug

Thanks. Then this is a problem with incomplete or incorrect documentation at http://drupal.org/node/97193.

xamount’s picture

Status: Active » Fixed

I added in a small comment in brackets at that handbook page to reflect that Drupal also provides some settings for file uploads so users who do not know about it can follow up on it. In keeping with the title of the page, I did not go in much detail.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.