WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I change the standard 7MB upload limit?

I have full shell and admin access to my Wordpress blog.

share|improve this question
up vote 3 down vote accepted

add this to your .htaccess file in the root of WordPress installation directory:

php_value upload_max_filesize 20M
php_value post_max_size 20M

and you can change 20 to whatever you want, unless your hosting server is limiting it it should work just fine.


Create the php.ini File and add the Following:

memory_limit = 20M
upload_max_filesize = 192M
post_max_size = 20M
file_uploads = On

then Upload the File to your wp-admin Directory.

share|improve this answer
No luck - the limit is still 7MB. BTW, I have full server access (I use a Dreamhost account). – Adam Matan Jun 11 '11 at 16:23
having a Dreamhost account doesn't mean you have full access! can you change the php.ini file? – Bainternet Jun 11 '11 at 16:32
Where is that file located? – Adam Matan Jun 11 '11 at 17:03
it should be located in your server's php folder, but try the solution i added to the answer – Bainternet Jun 11 '11 at 19:01
Added both, still no luck. – Adam Matan Jun 11 '11 at 20:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.