Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: Aren Cambre commentedThanks. Then this is a problem with incomplete or incorrect documentation at http://drupal.org/node/97193.
Comment #4
xamount CreditAttribution: xamount commentedI 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.