Default is 2mb. To increase, you need to change the file size limit in the php.ini or .htaccess file.
php.ini
Add these lines:
upload_max_filesize = 10M ;
post_max_size = 20M ;
Chances are, you don’t have access to the php.ini file, so you have to edit the .htaccess file.
.htaccess (Example link: http://tchan4.com/blog/.htaccess)
Add these lines:
php_value upload_max_filesize 10M
php_value post_max_size 20M
If you don’t have a .htaccess file, just create one and put it into your blog’s root directory (http://tchan4.com/blog/.htaccess).
‘Post Max’ size is the maximum size of all he files in each posts you make.
‘Max File’ size is the maximum size per file you can upload.
Change the values 10M/20M to what you want, just make sure the ‘post max’ is bigger than ‘max file’.
May 15, 2008
Horaayy..there are 4 comment(s) for me so far ;)
I cannot thank you enough for putting this response in plain English. I can finally upload my larger files! This has involved a lot of going back and forth between my hosting company and searching the forums. The one thing the hosting co did, which might have also helped (but not without the allowable posting code in place) was that they also added this:
php_value max_execution_time 1000
between the two it finally works. Another tip, if it doesn’t upload with the first wordpress browser, try the second one - that’s what worked for me.
If I can just echo Katie’s comment, thanks for explaining this clearly. Has saved me so much time and easy to implement for me (.htaccess file).
[...] took me to this article which suggested getting around the file size limit by editing the .htaccess file instead. This is a [...]
Thankyou so much, I had issues with 500 errors when i used htaccess. but using the php.ini method (both in the root and in wp-content and wp-admin) has done the trick.
for now anyway!