• Horn Player – Computer Dude – Gig Pig …
  • Home
  • About
  • Blog
  • Services
  • Contact
  • Webmail
  • Terms

Robert A. Owen - Musician - Network Engineer - Support Master

Music, Technology, Rants and Funnies - Randomness at its best!

  • Blog
  • Internet
    • IIS 6
    • IIS 7.5
    • Javascript
    • Web Design
      • WordPress
      • Coldfusion
  • Support
    • MicroSoft
      • Powershell
      • Surface
      • Windows10
      • Zune
    • PC-Care
    • Software
    • Virus
      • Email Scam
    • Vista Quest
    • Windows 7
  • Pictures
    • Instagram
  • Music
  • Friday Funnies
  • General
    • CoWorking
    • Gadgets
    • Politico
    • Random – TidBit
    • Rant
    • Review
    • Site of the Week
    • Useless
    • Xbox
      • Games
You are here: Home / Support / Change your max file upload size in WordPress

Change your max file upload size in WordPress

March 9, 2011 By Robert Owen 6 Comments

Everybody may already know how to do this but, I didn’t and it was driving me crazy.  And, since I will have to make this change again sometime, I’m posting it here.

Ever since I switched over to WordPress, I’ve been stuck with a two (2) meg file upload limit.  I thought this was a bit crazy because I self host this site and have full control over every aspect of the server.   Since I don’t give myself any limits anywhere else (I’m such a good host) I didn’t like having one here either.  Or at least not one that small.

So, How do you change the max file upload size in WordPress? The simplest way is to edit your PHP.INI file.   The location of this file will depend on your host  or, if you install PHP yourself on your own server, it will depend on where you told it to create the file.  There is a high possibility that it will be located in your Windows directory.  That is, of course,  if you installed it on a Windows Server.

At any rate,  find the php.ini file,  open it with your favorite text editor,  look for this line:

upload_max_filesize = 2M

and change the  size to whatever you need.   So if you want a 32 meg limit make the line read:

upload_max_filesize = 32M

Save the file and close the text editor.   For this new setting to take effect, you will need to restart IIS and is dependencies.  Easiest way to get all of those restarted is to click “start —> run”  then type “services.msc” in the run box.   Find IIS Admin in the list, click it once so it is highlighted, then click “restart” on the left.  This will then prompt you that it needs to restart the dependent services as well.  Click “OK”.  Once they are all stopped and restarted, you are good to go.  Log back into WordPress and upload a file.  You will see your new file limits in effect.

 

© 2011, Robert Owen. All rights reserved.

Related Posts Plugin for WordPress, Blogger...

Filed Under: Support, Wordpress Tagged With: change, dependent services, file upload, filesize, host, limit, max, Meg, meg limit, windows directory

Comments

  1. Christie says

    March 9, 2011 at 3:25 pm

    Thanks for this! I remember being hit with this limit before. I’m really glad you’re on WordPress now because I’m looking forward to more how-tos from you!

    Reply
    • Robert Owen says

      March 9, 2011 at 6:55 pm

      No problem! I’m trying to force myself “back on the wagon”. 😆 Hopefully there will be some more WordPress posts coming soon. I’ve had some other “issues”. Now I just need to remember what I did to fix them. 😉

      Reply
  2. Gina says

    May 24, 2011 at 12:53 pm

    … or you can just do what I do:

    Open favorite email program.

    Click Compose.

    Start typing, “R” … and then, “O” … into the To: box.

    Select, “Robert Owen” from the drop down menu.

    Type, “HELP!!” into the Subject Box.

    Type, “Hey Robert, I was trying to get this massive picture of my supper loaded onto my website and it won’t go. Fix it pretty please? It was a delicious dish and I want people to be jealous. Thanks! Gina ;~}” into the Message Box.

    Click Send.

    Wait 42 seconds.

    Check website for update.

    Repeat above substituting, “Thanks!!” for the previous Message Box text.

    Reply
    • Christie says

      July 28, 2011 at 4:47 pm

      Gina – you are awesome.. I think this was my first genuine laugh of the day!

      Reply
  3. Dave Vronay says

    September 24, 2011 at 2:33 am

    Just wanted to say thanks for posting this. It was driving me crazy. The key piece of information for me to get it to work was your comment on where exactly to find the php.ini file. I was putting it where my website was (under wwwroot) but the correct location was under program files(x86)\php\v5.2\.

    Reply
    • Robert Owen says

      September 24, 2011 at 8:33 pm

      No problem! Glad it helped.

      Reply

Leave a Reply to Gina Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Robert Owen A Horn Player turned salesman, turned Computer Consultant & Horn Player, Turn Network Engineer & Horn Player.... Well, How about a Horn player who does a lot of other stuff? More about me. FacebookInstagramLinkedInTwitter

To Stay up-to-date on all of my crazy Ramblings, enter your e-mail address below.

You'll be amazed!

Recent Posts…

  • Instagram Photos
  • Time for more Pictures
  • Windows 10 – Forget Wireless Network
  • Powershell to check and start a service
  • Its Amazing – Shia LaBeouf

Recent Comments

  • David Gray on Create a Shortcut to open in your Alternate BrowserTwelve years on, this tip remains useful. Though I…
  • Sue K on Use the Snipping Tool to Capture MenusThanks you so much! I could never figure out how t…
  • aa on Increase IIS File Upload LimitsSuperb Robert..after wasting 2 days..this is perfe…
  • León on Windows 7 error 86Funciono para Windows 7 , también descubrí que la…
  • Nicole Larkin on Use the Snipping Tool to Capture MenusNine years later and your post is still helpful. T…

[footer_backtotop]

Content Copyright © 2022 OWEN CONSULTING · All Rights Reserved · Log in