The uploaded file exceeds the upload max filesize directive in php.ini.
It’s quite frustrating to receive an Exceeds the upload max filesize directive in php.ini.. I am in the process of starting my new course on how to create a webstore from your website. This is a follow-on course that I am doing for my basic training course on how to build a WordPress website.
- A premium theme – Amazon Affiliate Theme (Affiliate Link – Thank you :))
- a premium plugin – Amazon Affiliate Plugin (Affiliate Link – Thank you :))
The premium theme is 2.7mb and the plugin came in at 5mb. The max filesize directive in php.ini. set by my hosting provider is set at 2mb, therefore, I received an error message when I wanted to upload my file.
The error message that I received was –
“The uploaded file exceeds the upload_max_filesize directive in php.ini.”
I had to make a few changes on the hosting providers side to correct the max filesize directive in php.ini., and therefore, I thought I will create a quick guide to hopefully assist you if this is an issue that you experience.
I created a video on how to change the mExceeds the upload max filesize directive in php.ini. My hosting provider is StableHost, therefore, it this video will take you through the steps for StableHost.
In this tutorial, I will take you through the steps over the shoulder to change the max upload file size for your WordPress websites. This easy fix will assist you in uploading file sizes to the required size and hopefully, you will not receive the error message.
The tutorial will take you through the steps one by one –
- Loggin into your cPanel
- Change your max filesize directive in php.ini. settings
- Uploading the file in your WordPress site
Changing the max filesize directive in php.ini. settings might seem daunting for the beginner user however if you follow through the steps outlined in this tutorial, you will manage these steps very quickly.