May
06Maximum Filesize Upload Issue In Wordpress
Filed in: Blog Setup, Wordpress Issues, wordpress by Scott Freed on 05-06-09Have you ever had the problem of trying to upload an MP3 file via Wordpress Admin to your hosting server and seen the horrible error – “File is too big. Maxiumum filesize is 2M”.
Don’t sweat it, this is pretty simple to fix and we will show you how to get it working easily.
Firstly a bit of background information, this is not an issue with Wordpress, but with your host’s php setup. Obviously they have set the upload_max_filesize to 2M in their php.ini file. Easy to fix, just login to your blog via ftp and have a look in your root directory and see if you can see a php.ini file there, if it is simply edit the upload size to something like 10 or 20M.
No php.ini file in your root directory? This is still not an issue, all you need to do is make one. Here’s how:
Open up your text editor,and add the lines:
upload_max_filesize = 20M
post_max_size = 20M
Save the file as php.ini and then upload it into your wp-admin directory and any other directory where you want the default rule to be changed.
M stands for Megabyte and you can set this to whatever you wish.


No comments yet.