How To Increase the Maximum File Size Upload Limit in WordPress
How To Increase the Maximum File Size Upload Limit in WordPress
Method 1 : Ask Your Hosting Company For Help
You buy hosting. If you not want to increase memory of file then Say your Web hosting Agent. Many hosting companies have chat support which can help you out in these situations. Go to Live Chat and Stat Them with agent and say to Them.in Few Minutes they will solve your problem.
Method 2 – Functions.php
This method can help you to increase max upload limit by making certain changes in your theme function. This can help you to increase your max file limit up to 64 MB. Here are the steps for it;
Go to your WordPress Dashboard,
then click on Appearance from sidebar.
Now click on Editor and then click on functions.php and then paste the following code there.
@ini_set( ‘upload_max_size’ , ’64M’ );
@ini_set( ‘post_max_size’, ’64M’);
@ini_set( ‘max_execution_time’, ‘300’ );
Now save the file and you are done.
Method 3 : Editing Your .htaccess file
Now try editing your .htaccess file and add or edit the following code at the very bottom:
php_value upload_max_filesize 1000M
php_value post_max_size 2000M
php_value memory_limit 3000M
php_value max_execution_time 180
php_value max_input_time 180
Method 4- PHP.INI
Log into your Control Panel.You open your control Panel .You will require to access your web directory to locate PHP.INI file, if you are on shared hosting then you need to create PHP.INI file first and then access it.
Now paste the following code into your PHP.INI file.
pload_max_filesize = 30M
post_max_size = 30M
max_execution_time = 300
memory_limit = 32M
upload_max_filesize = 32M
post_max_size = 32M
file_uploads = On
Now save the file and you are done.
Method 5 : Your wp-config.php File
Edit your Wp-Config.Php File and add this File.
define(‘WP_MEMORY_LIMIT’, ‘3000M’);
Method 6 : Wordpress Plugin
First open your WordPress Dashboard and Go to Plugin and Add This Plugin
Download Now : Increase Upload Max Filesize