• Resolved aceone999

    (@aceone999)


    I have multisite with php upload limit 2GB post size limit 2GB running with nginx webserver on my on server, upload limit in nginx set to: 2GB

    The wordpress site displays 1mb upload limit. I can’t upload bigger files.
    Only the html upload allows me to upload bigger files ,even when it still says “limit 1 MB”
    I tried all possible things to fix this, wp-config.php, functions.php, php.ini, nothing worked.
    All other wordpress’s that are installed on this user account show an upload limit of 2 GB as they should.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter aceone999

    (@aceone999)

    I have made a copy of this site to experiment on.
    As soon as I remove the multi site part from wp-config it shows the upload limit correctly as: “2 GB”.

    This is what I removed:
    /* Multisite */
    define( ‘WP_ALLOW_MULTISITE’, true );
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, true);
    define(‘DOMAIN_CURRENT_SITE’, ‘wasserveredelung.jetzt’);
    $base = ‘/’;
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);
    define(‘WP_ALLOW_REPAIR’, true);`

    • This reply was modified 4 years, 10 months ago by aceone999.
    Thread Starter aceone999

    (@aceone999)

    It’s intended behavior, you can only change it in: /wp-admin/network/settings.php

    • This reply was modified 4 years, 9 months ago by aceone999.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t set max upload size limit’ is closed to new replies.