• My setup at https://www.arts.uk.net has the following files and settings:

    ht access file is:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    
    RewriteCond %{HTTP_HOST} !^arts.uk.net$
    RewriteRule ^(.*)$ https://www.arts.uk.net/$1 [R=301]
    
    RLimitMem 128000000

    The final line is for the memory setting of the apache server

    There is a php.ini which has this:

    upload_max_filesize = 200M ;
    post_max_size = 200M ;
    max_execution_time = 600 ;
    memory = 125M ;

    And I have a setting at the top of the wp-config that sets memory thus:

    define('WP_MEMORY_LIMIT', '125M');

    So why on earth do all the media upload/insert interfaces say, and enforce, that the file size memory limit is 1mb?

    Have I missed something ever so basic?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Alwyn Botha

    (@123milliseconds)

    ideas …

    Restarted apache ?

    Cleared APC cache ?

    Correct ini changed ?

    Thread Starter guileshill

    (@guileshill)

    This might be a good start if I understood the suggestions better. The site is on shared hosting, the upsizing of apache memory was provided by the host.

    The… hold on a minute…

    You stupid sod Chris….

    Multisite, max file upload, set just below the real value for 2mb instead of 200, so it comes up as a limit of 1mb. How the heck did I forget that one!

    I’ve had senior moments before, I’ve even been accused of having blonde moments, but I’ve never had a Homer Simpson moment before… Doh!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Why still a 1mb upload limit?’ is closed to new replies.