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

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.

Leave a Reply

Contact Now
close slider