Chinna kadai st, Trichy, Tamil nadu
+91 80122 32526
info@bsrsols.com

the uploaded file exceeds the upload max filesize directive in php.ini

the uploaded file exceeds the upload max filesize directive in php.ini

If you get the message ‘the uploaded file exceeds the upload-max-filesize directive in php.ini. in wordpress‘ when you installing new theme, plugin, image or files.

The issue detected on your server for miximum size for uploaded file.

the uploaded file exceeds the upload_max_filesize directive in php.ini1) Update your php.ini file

create php.ini file in your File Manager(directory) and apply this code and save

memory_limit=256M

upload_max_filesize = 10M

post_max_size = 11M

max_execution_time = 300

2) Edit your .htaccess file

Goto your file manager and open .htaccess file if your are not able to see .htaccess file, use show hidden options.

Open .htaccess file

php_value upload_max_filesize 64M

php_value post_max_size 64M

php_value memory_limit 400M

php_value max_execution_time 180

php_value max_input_time 180

3) Editing wp-config.php File

Goto File Manager use this code at the bottom directly.

define(‘WP_MEMORY_LIMIT’, ‘256M’);

Save and close, now try to install a theme, plugin image or file.

Thank you!!! Be Blessed

Copy link
Powered by Social Snap