Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    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 = 100M ; and post_max_size = 100M ;

    2. If you cannot edit or override the system php.ini file, add php_value upload_max_filesize 100M and php_value post_max_size = 100M 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 100MB)

    Thread Starter paradive

    (@paradive)

    i altered php.ini – upload_max_filesize, but left post_max_size alone.

    maybe that’s why?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Yes, you have to adjust both.

    Thread Starter paradive

    (@paradive)

    yeah, that’s not it.
    it’s set to 8MB and the limit in the media section is 2.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Ok, then you’ll have to move on to option 3 above.

    Thread Starter paradive

    (@paradive)

    no hosting provider.
    just playing around with my laptop with a xampp install.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Ah, that is a *very* different thing. 🙂

    Please re-post over at https://wordpress.org/support/forum/localhost-installs#postform and make sure that you detail your setup and what you have tried already.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How do I fix my file size upload problem’ is closed to new replies.