[Resolved] Max upload filesize should work but it isn't
I have full root access to my server. I’ve changed my server’s php.ini as follows:
memory_limit = 32M upload_max_filesize = 10M post_max_size = 12M file_uploads = On
I restarted Apache.
Still, the media library for the sites in the Multisite network all say
Maximum upload file size: 439kb
Any ideas why that could be? I don’t have any php_flag directives in .htaccess so I’m at a loss to figure out how this could be.
I did a search for ini_set in the source code and found a reference to two constants, one in admin.php on line 109:
@ini_set( 'memory_limit', apply_filters( 'admin_memory_limit', WP_MAX_MEMORY_LIMIT ) );
and another in media.php on line 253:
@ini_set( 'memory_limit', apply_filters( 'image_memory_limit', WP_MAX_MEMORY_LIMIT ) );
Now then, in default-constants.php, WP_MAX_MEMORY_LIMIT it set to 256M, and WP_MEMORY_LIMIT is set to 64M.
- The topic ‘[Resolved] Max upload filesize should work but it isn't’ is closed to new replies.