Increase the File Upload Size in WordPress Without Creating or Altering a pnp.ini File.
Godaddy shared hosting’s default settings are set to not allow for particularly large files to be uploaded. This is very easily remedied by changing some basic settings within cPanel; you do not need to start messing with pnp.ini files or even know how to code. This guide will walk you through everything; if you prefer to watch a video, scroll to the bottom!
How to Fix “File Exceeds the Maximum Upload Size for This Site.” Works for Godaddy, Namecheap, Bluehost, and a number of other common shared hosting providers.
You’re in the middle of uploading a theme or a photo to your WordPress website when you get the dreaded “exceeds the maximum upload size for this site” message. You are incredibly frustrated and turn to Google.
For whatever reason, the top results all tell you to create a pnp.ini file and start coding, though there is a much easier way to address this. Godaddy, along with a number of other shared hosting providers, all set limits to the file sizes that you can upload, though these defaults can easily be changed. You do not need to create any files and you don’t need to know how to code.
Step 1 – Log into Your Cpanel
Log into your hosting and scroll down to the “software” section of your Godaddy cPanel.
Step 2 – Click on “select PHP version.”
While you’re in here, it’s probably best to make sure that your hosting is set to version 7.1, but make sure that you check that your theme and plugins are compatible with it (I assume no liability for you messing up your site, by the way, so make sure that you have a valid backup of everything before you change anything).
On this screen, you’re going to
Step 3 – Click on “Switch TO PHP Options”
Step 4 – “Increase your upload_max_filesize”
The three number in orange are the numbers that you need to change. Click on each one and a drop down will appear; select the new value and click “apply” (if you forget to click apply, it won’t take). Once you’ve changed all three values, click on the save button below “upload_max_filesize.”
You Have Increased Your Max File Size Upload
This is a really easy, fast fix, but for whatever reasons, the top results on Google all tell you to create a pnp.ini file, which often doesn’t work to fix the issue with Godaddy’s file upload limits on shared hosting plans. I’d like to help people avoid the headaches involved with this and finally start outranking those other convoluted, yet ineffective solutions, so please comment and link to this post so that we can get the word out that there is an easy fix to Godaddy’s 2mb limit on file uploads on shared hosting.