Question: How Do I Change The Upload Limit For My WordPress Site?

16 Mar

Geek Level: Moderately Geeky

You’ll need to access your database php.ini file.

Does that sound intimidating? If it does, you may want to get your web designer or developer – or at the very least, a tech-savvy VA – to do this for you.

If you’re not intimidated, read on…


Step 1:

Using File Manager, FTP, or SSH, or via cPanel’s myPHP tool, you’ll need to locate a file named php.ini. If you’re working in MediaTemple, it will be in a path that looks something like this:

/home/#####/etc/php.ini.sample

(The ##### corresponds to your account number.)


Step 2:

Find the lines in this file that starts off:

post_max_size =
upload_max_filesize =

Step 3:

Change these lines so they list a number, in megabytes, that accommodates your needs. Something like:

post_max_size = 20M
upload_max_filesize = 20M

Step 4:

Save your changes.


Step 5:

If you’re using FTP, upload this file to your server. (You may want to save the old version of the file with a different name, such as php-ORIG.ini. Just in case something goes wrong, you can change it back to the original version.)


Step 6:

If you’re in MediaTemple or using cPanel’s File Manager, just click on “Save.”


Need help? Send me a tweet if you get stuck on a plug-in and I’ll see what I can do to help!

If you’re using MediaTemple, here’s their tutorial page:
http://kb.mediatemple.net/questions/137/How+can+I+edit+php.ini+on+the+%28gs%29+Grid-Service%3F

No comments yet

Leave a Reply