[wp-trac] [WordPress Trac] #13575: wp_max_upload_size() is not taking memory limit into account
WordPress Trac
wp-trac at lists.automattic.com
Thu May 27 12:38:42 UTC 2010
#13575: wp_max_upload_size() is not taking memory limit into account
--------------------------+-------------------------------------------------
Reporter: hakre | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version: 3.0
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
wp_max_upload_size() is not taking a memory limit into account while
checking for the maximum upload size.
according to the official php documentation the memory limit is limiting
file uploads as well (and post form operations).
> post_max_size - integer [[BR]][[BR]]
> Sets max size of post data allowed. This setting also affects file
upload. To upload large files, this value must be larger than
upload_max_filesize. If memory limit is enabled by your configure script,
memory_limit also affects file uploading. Generally speaking, memory_limit
should be larger than post_max_size.
[http://www.php.net/manual/en/ini.core.php#ini.post-max-size Source]
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13575>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list