-
An Easy Fix: The Uploaded File Exceeds The upload_max_filesize Directive In php.ini Problem
8
June 20th, 2007Hmmmm Things, QuickiesThis has got to be the second most annoying feature that I’ve noticed in EVERY SINGLE BLOG that has been upgraded to the latest wordpress version 2.2. The first being that my Iimage Browser Plugin does not work because it requires one file to be placed in the wp-admin folder .. and my InstantUpgrade plugin deletes it every time there is an upgrade to my blog, initiated by me.
I’m sorry – I can’t remember who said this, or where I found it .. although I’m almost sure it was in the WordPress Support Forums..
In your WordPress Admin …..
1) MANAGE
2) FILES
3) SELECT .htaccess (for rewrite rules)
4) PLACE THE FOLLOWING UNDER THE LAST LINE BEFORE # BEGIN WORDPRESSphp_value upload_max_filesize 2M
Thanks it. 2M is 2MB so, if you need something larger for uploading video files or audio files you can change it there. So .. your .htaccess file might look like something like this:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^hart-empire.com [NC]
RewriteRule (.*) http://www.hart-empire.com/$1 [R=301,L]
php_value upload_max_filesize 2M# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress

Check These Out!
Comments protected by Lucia's Linky Love.
8 responses to “An Easy Fix: The Uploaded File Exceeds The upload_max_filesize Directive In php.ini Problem” 
-
How does one do this on WP 6.2.1 or higher? There isn’t a “files” management area.
-
Shellz (1 comments.) June 21st, 2009 at 15:15
Thanks! I have this problem, I’ll try it and see if it works.
-
Hi Shellz .. Let us know how this worked for you!
Generally, I think the numbers have to be exponential or something .. like 2M .. 4M .. 8M .. 16M … 32M ..
-
Music On Hold Guy(new comment) January 3rd, 2012 at 15:33
I coulden’t install my theme because of a file size error. I found lots of forum questions about this error but not many answers. Thanks for the easy to follow tip. files size problem solved!
-
Dan(new comment) February 23rd, 2012 at 05:38
I have this error but when I log into my admin i don’t appear to have a manage -> files option. I’m using 3.3.1 . I’m guessing things might have changes since 2007???
-
Dan(new comment) February 23rd, 2012 at 14:50
Thanks for your help. When I open my .htaccess file its blank. When I insert the file increase size it just causes a config error. I’ll get in touch with my hosting comp.This is my first WP attempt – damn I miss good old html
Leave a reply
Additional comments powered by BackType




Lancer (1 comments.) June 6th, 2009 at 18:09