[wp-trac] [WordPress Trac] #36677: WP 4.5.1 severely limits image upload size to under 2 MB
WordPress Trac
noreply at wordpress.org
Thu Apr 28 16:41:48 UTC 2016
#36677: WP 4.5.1 severely limits image upload size to under 2 MB
-------------------------------+------------------------------
Reporter: Pixeldrummer | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.5.1
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by Pixeldrummer):
''This in reply to your request for values, `upload_max_filesize` and
`post_max_size` from our server admin:''
...public policy is 10M, goodman is 32M, civitas is showing 10M. That
would mean that there's no way the php.ini setting is going to be limiting
uploads to 2M. Even accounting for the fact that base64 encoding increases
the size by roughly 33%, even the 10M limits should allow more than 6MB
even if the raw post size is getting limited rather than the real file
size.
Replying to [comment:4 azaozz]:
> Thanks for the explanation.
>
> I've assumed this was a PHP configuration problem as the error message
and the limit match exactly the (old) default in PHP. Could you check what
are the values of `upload_max_filesize` and `post_max_size` to rule them
out. Also, could you experiment with several different themes (including
the default Twenty *) to confirm if this is caused only by that theme or
is more common.
>
> I know there were some problems with Imagick using more memory while
resizing uploaded images, but then PHP will run out of memory and the
error message will be different.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36677#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list