Are you seeing an error when you try to upload a WordPress plugin to your site? In this guide we’ll show you how to fix the error: The uploaded file exceeds the upload_max_filesize directive in php.ini.
This error means that your hosting provider has set a limit as the maximum upload size in a file called php.ini (used by your server to know what the largest file size you’re allowed to upload). If your MonsterInsights Pro plugin exceeds this limit, your server looks at the plugin you’re trying to upload, seeing it will be over the limit, and basically going “nope, that’s too big, cancel upload” and rejects it.
To solve this, there are a couple different methods you can use to get around this. WPBeginner has a great article on three different ways you can use.
Also, if you have a way of contacting your hosting provider if they offer live support they should be able to upload the plugin files for you (they’d use FTP if you don’t know how to do it).
And also, if you know how to use FTP (if this doesn’t sound familiar don’t bother), you can unzip the plugin and upload them inside their folder into wp-content/plugins/.
That’s it! Now you know how to how to increase the maximum file upload size in WordPress. After completing the file upload, please see our Getting Started Guide and Checklist for MonsterInsights.