Home > Tips&Tricks > [Fix] WordPress Uploaded File Exceeds error
wordpress error uploadede file exceed maximum u

[Fix] WordPress Uploaded File Exceeds error

 Uploaded File Exceeds the upload_max_filesize Directive in php.ini.

Hi there, In this article you will learn how to fix “Uploaded File Exceeds the upload_max_filesize Directive in php.ini.” error in wordpress. This error occurs while uploading media file, plugin or themes in wordpress. Follow these steps to overcome this problem.

Uploaded File Exceeds the upload_max_filesize Directive in php.ini.

Solution 1: Edit .htaccess

to fix “Uploaded File Exceeds the upload_max_filesize Directive in php.ini.” error in wordpress Just access the root directory of your WordPress using a file manager or FTP client. Then, locate the .htaccess file in public_html folder and edit it. If you can’t find .htaccess file in your public_html folder goto settings and enable Show Hidden Files (dotfiles) then you will able to access.

option 1

Now paste this code at the end and save.

php_value upload_max_filesize 256M

option 2

Also read:- Yoast seo fix! Installation failed: destination folder already exist



Solution 2: Update php.ini

If solution 1 doesn’t work to fix “Uploaded File Exceeds the upload_max_filesize Directive in php.ini.” error, update your php.ini file. Just locate php.ini file in your root directory and paste these code into php.ini file.

upload_max_filesize = 256MB

post_max_size = 256M

memory_limit = 512M

max_execution_time = 180

Also read:-5 ways to increase signal strength of cell phone



Solution 3: Editing the wp-config.php file

Another method to fix “Uploaded File Exceeds the upload_max_filesize Directive in php.ini.” error. Edit the wp-config.php file in public_html folder.

option 3

Paste the below code into the file

@ini_set(‘upload_max_size’ , ‘256M’ );

option 3

Also read:- Hide your documents without hiding apps in android.



If all the Options fails then contact to your hosting provider.

About M@nish More

This is Manish More's website. He is Student by profession and part-time blogger. He loves technology and lives in practical life instead of being a bookworm. and there is nothing special to tell about him.

Check Also

best ocr tools for android

4 best OCR tools for android

In this article we have covered 4 best OCR tools for android to extract text …

7 comments

  1. Nice articles
    Thanks for sharing this information
    Keep it up

  2. Bahoot jabardast article bhai ji………….. lage raho me aapke wesbsite par hindi guest post karna chahta hun

  3. Very Nice Post Dude!! You Also Read this Post and Create Unlimited Backlinks :- High Pr Dofollow Backlinks

Leave a Reply

Your email address will not be published. Required fields are marked *