Solved – The uploaded file exceeds the upload_max_filesize directive in php.ini.

It is really frustrating when you want to update a new theme or plugin into WordPress and it gives this error.

“The uploaded file exceeds the upload_max_filesize directive in php.ini”

The solution of WordPress maximum upload file size 2mb

It happens when WordPress maximum upload file size 2mb. You can change it to any size. Follow the instructions.

The solution is Simple – 1st Solution

Step 1 – Open your C-panel and click on File Manager

Step 2 – Click on public_html

Step 3 – Click on Wp-admin

Step 4 – Create a new File by clicking here in the round box

Step 5 – Create a file name php.ini

Step 6 – Open and Edit php.ini File

Step 7 – Write these 2 codes

upload_max_filesize = 32M
post_max_size = 32M

Step 8 – Save the file, refresh your website and try again. You can now upload the file size maximum 32MB, you can increase it according to your desire. 

==========================================

Method 2 

If you are still unable to upload the file into your WordPress. Go to Filemanager ->Go to Wp-content ->

Go to Themes -> Upload your theme file in zip format

Extract it->then go to website’s theme 

Go to your WordPress theme section, your theme will be there, activate the theme and enjoy.

Avinash Sharma

Since 2009, I am a Writer. Writing is not just giving information and knowledge. It's about teaching to the reader by content.

Recent Posts

#1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’ – Solved

#1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’ – Solved

Are you changing your Web Hosting Server? Are you facing this problem while importing your database to another hosting? Are…

4 months ago
Yoga for Writers

Yoga for Writers

Yoga for Writers Being a writer, you have to always think out of the box. Here, Yoga helps you to…

4 months ago
Lead Generation Strategies 2019; Get 1-2 Leads Per Day

Lead Generation Strategies 2019; Get 1-2 Leads Per Day

You are here to know about lead generation strategies in 2019. I am glad to share my experiences with you.…

7 months ago
How to increase page load speed of wordpress website?

How to increase page load speed of wordpress website?

After checking hundreds of plugins, I found that if you put just 2 plugins into your website. Your page speed…

1 year ago
E commerce Marketing 2019 – 10 Digital Marketing Steps to Increase Sales

E commerce Marketing 2019 – 10 Digital Marketing Steps to Increase Sales

Only making ecommerce website is not enough to get sales. You need to work on it. I am sharing you…

1 year ago
Contact Now
close slider