May

06

Maximum Filesize Upload Issue In Wordpress

Filed in: Blog Setup, Wordpress Issues, wordpress by Scott Freed on 05-06-09

Have 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.

RSS feed | Trackback URI

Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post

Digg it       Save to Del.icio.us       Subscribe to My RSS feed      
Add this to: