wpvidZ

Learn WordPress With Video Tutorials

  • Blog
  • Browse
    • Backup & Restore
    • WordPress Localhost
    • WordPress Hosting
    • WordPress themes
    • Version Updates
    • Plugin Tips
    • Security
    • Tutorials
    • WordPress SEO
    • WP Miscellaneous
    • Sitemap
  • WP 5+ Tutorial
  • Search
wpvidZ Blog Localhost Maximum upload file size in WAMP WordPress

WordPress Localhost Complete Guides

Maximum upload file size in WAMP WordPress

Last updated on February 18, 2017
Posted on February 5, 2012

How to increase Maximum upload file size 2MB in WAMP server if you have WordPress in localhost or your PC?

I have spent many times, and yes, it is probably around 20 times editing php.ini files in my system and it did not work, still showed at 2MB!

Same like you at the moment probably, searching in Google, and found many guides on this, mostly editing php.ini files, or even htaccess and wp-config.php, but it mostly did not work for me.

The big problem was, I am a non techie woman, and didn’t know which php.ini file I should edit.

If you are like myself, you probably would be confused too.

maximum upload file size
2MB to 32MB

I could of give up, because it is my offline blog, however, I am very very curious about this problem’s solution.

At first, I added a file, called, php.ini in my wp-admin folder, and adding a line of code, then three line of codes, but they didn’t solve my issue.

Then, I look for php.ini in php folder inside the “bin” folder in WAMP folder of my system, then edited it, and it did not work either.

Finally, I found and was able to edit the right php ini, but many times it still shows; Maximum upload file size 8MB, no matter how many times I changed to 32MB and then I did reset my local server (in this case I am using WAMP server in Windows 7 OS). Related post: Install wordpress with wamp server on Windows 7.

Maximum upload file size Video Tutorial

Maximum upload file size 2M/8M Solution

How to solve the “Maximum upload file size 8MB” problem to “Maximum upload file size 32MB”: the steps (using Windows 7)

1. Look for WAMP server icon in the right bottom of your computer screen, the green “W” (see screenshot).

maximum upload file size
"Green W Icon" in the corner - PHP - php ini

2. Just click it (not a right click).

3. Select “PHP” folder icon in the drop down menu, then select and click “php.ini”

4. Once it is clicked, it will be automatically opened in your default text editor, in my case is it’s opened in notepad.

5. In Notepad, search for this in “search” box: post_max_size, once you find the “8M” you can change it to, for example,”32M”

exceeds the maximum upload size for this site
post max size

6. Next step, back in notepad, search for this upload_max_filesize, then change the 2M to 32M. Save the file, close the text editor.

maximum upload file size 2mb
upload max filesize

7. Very important step here, reset your WAMP server, by right-clicking the “W” icon and select, “Exit”. Refresh your blog.

This steps solved my “exceeds the maximum upload size for this site” problem with WAMP and wordpress.

error file image set upload

Latest Posts

  • Twenty Nineteen Theme Full Tutorial – Creating a Website
  • Uninstall W3 Total Cache Plugin – Incredibly Easy!
  • Create WordPress Website 2018 on SiteGround Genesis
  • WordPress Noopener Noreferrer Rel Attribute Quick Fix
  • WordPress CDN Setup with MaxCDN and W3 Total Cache Plugin
  • Twenty Seventeen One Page Parallax Scrolling Website Style
  • How To Add Google Map in WordPress Contact Page
  • WordPress 4.7 Justify Text and Underline
  • Twenty Seventeen Footer “Proudly Powered By WordPress” Text
  • How To Add YouTube Subscribe Button To WordPress Website
→ Install WordPress on Mavericks OS X 2014

Comments

  1. Ahsan says

    February 6, 2012 at 6:09 pm

    I don’t still face this problem. But as a wordpress user, I’ll surely face this problem. Thanks for sharing this valuable content

  2. Oscar says

    May 30, 2012 at 8:23 pm

    Thanks! Worked for me.

  3. Rohit says

    February 1, 2013 at 7:13 am

    Thanks for your easy steps…
    its very useful…

Comment form on this post is closed after 60 days.

Search

Worth Reading

  • How to Upload WordPress localhost to live server manually
  • Steps to Install WordPress on Windows 8 and WAMP 2.4
  • Install WordPress on Mavericks OS X 2014

Backup & Restore

Backup WordPress Without a Plugin or FTP

Export WordPress Database using phpMyAdmin

BigDump Alternative – When BigDump Failed Importing Large WP Database

At This Place The Current Query Includes More Than 300 Dump Lines

View All..

Live Online Website

View All..

Offline Installation

How to Upload WordPress localhost to live server manually

Steps to Install WordPress on Windows 8 and WAMP 2.4

Install WordPress on Mavericks OS X 2014

Maximum upload file size in WAMP WordPress

View All..


WPvidz Hosting Image

  • About Me
  • Contact
  • Affiliate Disclosure
  • Privacy Policy
  • Term of Use

Copyright© 2023 wpvidz.com SG2021 | sitemap.xml


WPvidz.com is independent from WordPress.org but is proudly powered by WordPress & its block-based editor (Gutenberg)

WpvidZ.com uses cookies" to give you the best browsing experience possible. If you click "I Accept" below then you are consenting to this. For more information about your privacy settings on this website, please visit the Privacy Policy page. I Accept