[wp-trac] [WordPress Trac] #36677: WP 4.5.1 severely limits image upload size to under 2 MB

WordPress Trac noreply at wordpress.org
Wed Apr 27 22:48:49 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):

 Will check with our server people re: upload_max_filesize and
 post_max_size, as far as I know they are set to 32 MB and are occasionally
 increased to 64 MB, I'll confirm.

 Am not running multi-site and have tested with themes other than X and the
 problem did not appear, only on the 3 sites I updated with X. These are
 live sites, some large, cannot test with any twenty *. The file size
 problem only appeared after updating to '''WP 4.5.1'''. I'll post back
 with the filesize settings.

 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:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list