• Hi,
    I would like to know how to limit upload size for media ? Because it’s configured at 64Mo (by my host i presume) and users can submit media … so i’m afraid they would overload the server ! How to reduce it to 1Mo for example ?

    And is there a way to control media which are submitted by users without having to verify frequently what has been uploaded ?

    TY ??

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    The maximum upload size is controlled at the server-level, not by WordPress. Here are three ways you can increase the upload limit:

    1. If you can edit or override the system php.ini file, increase the maximum file and post sizes. For example, upload_max_filesize = 10M ; and post_max_size = 10M ;

    2. If you cannot edit or override the system php.ini file, add php_value upload_max_filesize 10M and php_value post_max_size = 10M to your .htaccess file.

    3. If neither of these work, it’s time to ask your hosting provider to increase the maximum file and post sizes on your account. Keep in mind that most decent hosting providers allow this, and If your hosting provider won’t accommodate you, perhaps it’s time to find a new hosting provider.

    (in the above examples, the limit is set to 10MB)

Viewing 1 replies (of 1 total)
  • The topic ‘How to limit upload size limit’ is closed to new replies.