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

Robert A. Owen - Musician - Technology Leader

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

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:

Default ThumbnailUnistall Norton Network Antivirus Without a Password Default ThumbnailPC Boots to Blinking Cursor Default ThumbnailInteresting Problem: Snipping tool is not working Default ThumbnailShared Printer on Vista holding Jobs in Que

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

Robert Owen A Horn Player turned salesman, turned Computer Consultant & Horn Player, Turn Network Engineer & Horn Player, Now Technology leader & Musician.... 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…

  • What If? – Gig Edition
  • Feedback – two way street
  • Snow-pocalypse… and Cold
  • Snow-pocalypse 2025 – part 6
  • Snow-pocalypse 2025 – part 5

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 © 2025 OWEN CONSULTING · All Rights Reserved · Log in