[wp-trac] [WordPress Trac] #38018: WP post max size being used for Upload file size

WordPress Trac noreply at wordpress.org
Sat Sep 10 22:57:22 UTC 2016


#38018: WP post max size being used for Upload file size
--------------------------+----------------------
 Reporter:  Paulds11      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Upload        |     Version:  4.6.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hi @Paulds11, welcome to Trac! Thanks for the ticket.

 Both `post_max_size` and `upload_max_filesize` values affect uploads, as
 well as `memory_limit`. To upload large files, `post_max_size` must be
 larger than `upload_max_filesize`, and `memory_limit` should be larger
 than `post_max_size`. This is how PHP uploads work in general, not just in
 WordPress.

 See these links for more info:
 http://php.net/manual/en/ini.core.php#ini.post-max-size
 http://stackoverflow.com/questions/7754133/php-post-max-size-overrides-
 upload-max-filesize

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38018#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list