2

How can I change the standard 7MB upload limit?

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

3

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.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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