Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

How can I change the standard 7MB upload limit?

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

share|improve this question

1 Answer 1

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.

Update:

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

 
discard

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.