Closed (fixed)
Project:
Documentation
Component:
Correction/Clarification
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2008 at 15:21 UTC
Updated:
9 Dec 2008 at 04:42 UTC
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
Comment #1
aren cambre commentedAt 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.
Comment #2
damien tournoud commentedWell, 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.
Comment #3
aren cambre commentedThanks. Then this is a problem with incomplete or incorrect documentation at http://drupal.org/node/97193.
Comment #4
xamountI 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.