How to increase the maximum file upload size
-
While reading other forum posts on this topic I saw a lot of people saying. “I tried that but it still doesn’t work for me.”
using wordpress 3.2.1 and php 5 (may work for others or it may not)
Let me share what worked for me.
First I edited my .htaccess
baby steps
1) I opened my ftp account use windows to open ftp
2) the .htaccess file is in the public folder
3) copy paste .htaccess to a file in your computer(save an original backup just in case)
4) open with note pad and pastephp_value upload_max_filesize 20M php_value post_max_size 20M php_value max_execution_time 200 php_value max_input_time 200
directly before
</IfModule>
5) save the .htaccess file, then copy paste it through the ftp client overwriting the old file.Second I edited my php.ini file
1) navigate to your hosts website, access your account and control panel. (You may have trouble finding the php.ini file, I found mine by google-ing startlogic php.ini file location, you may need to do similar)
2)once you locate the php.ini file use control-f to search for the word upload
3) when you find the string that looks something like this
upload_max_filesize = 2M
change 2 to 20.
–I was able to do this all through my host–I went back to my post page hit refresh and i was able to upload larger file sizes. the
refresh
is important.
I hope this helps.
Thanks
Wooba
- The topic ‘How to increase the maximum file upload size’ is closed to new replies.