Raise Drupal files upload limit

  1. In your Drupal site, go to admin/settings/uploads
  2. Raise upload limits. If the value you want to insert is greater than PHP allowed value:
  3. On bottom of your .htaccess file (drupal/.htaccess) add these lines:
    # upload settings
    # cfr. http://it.php.net/manual/it/function.ini-set.php
    php_value post_max_size 50M
    php_value upload_max_filesize 50M
    php_value memory_limit 128M

    Change values as you wish.
  4. Return to admin/settings/uploads and watch changes on PHP limit.

See also:

2 Responses to “Raise Drupal files upload limit”


  1. 1 Brendan February 15, 2008 at 2:42 pm

    It works! Thanks, I have been trying to fix that for a while.

  2. 2 Tabitha August 7, 2009 at 12:32 pm

    FINALLY!!! Someone who has put this in real English! Thank you!


Leave a Reply




IE6: Rust in Peace

Blog Stats

  • 107,456 hits
My Bookshelf

Texts double licensed under Creative Commons Attribution - Share Alike license and GNU Free Documentation License. Examples may contain software licensed under GNU General Public License. Images and comments texts aren't necessarily licensed under these terms.