Advertise Your Business With Us At Cheap Price, Call Or WhatsApp +2349021020979


[-]
Tags
to increase in wordpress maximum upload file the how size

Hi Guest, kindly Login Or Register To Unlock More Advanced Features In Wapforum


How To Increase The Maximum File Upload Size In Wordpress
(6.3k )
#1
Do you want to increase the maximum file upload size in WordPress. Some times low file upload size limit can stop you from uploading files via media uploader, or install plugins and themes. In this article, we will show you how to easily increase the maximum file upload size in WordPress to fix those issues.

How to Check Your Maximum File Upload Size Limit in WordPress?

WordPress will automatically show the maximum file upload size limit when you are uploading images or media. To check it you can simply go to Media » Add New page and you will see the maximum file uplaod size limit for your WordPress site.

1: Theme Functions File
There are cases where we have seen that just by adding the following code in theme’s functions.php file, you can increase the upload size:

@ini_set( 'upload_max_size' , '64M' );
@ini_set( 'post_max_size', '64M');
@ini_set( 'max_execution_time', '300' );

2. Create or Edit an existing PHP.INI file
For this method you will need to access your WordPress site’s root folder by using FTP or File Manager app in your hosting account’s cPanel dashboard.

In most cases if you are on a shared host, then you will not see a php.ini file in your directory. If you do not see one, then create a file called php.ini and upload it in the root folder. In that file add the following code:

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

This method is reported to work for many users. Remember if 64 doesn’t work, then try 10MB (sometimes that work).

3. htaccess Method
Some people have tried using the .htaccess method where by modifying the .htaccess file in the root directory, you can increase the maximum upload size in WordPress. Edit the .htaccess file in your WordPress site’s root folder and add the following code:

php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300

Again, it is important that we emphasize that if you are on a shared hosting package, then these techniques may not work. In that case, you would have to contact your web hosting provider to increase the limit for you.

@flexible


#2
wow. nice post


ihostright

Share This Post To The World






Users browsing this thread: 1 Guest(s)
Goto First Post In This Thread



Possibly Related Threads...
Thread Author Replies Views Last Post
  How To Put Pop Up Notification Of Letest Music On Wordpress Neststar 3 5.3k 27-02-2021, 01:20 PM
Last Post: riyasen
  SHARED: Gidifans Latest Wordpress Theme Finally Shared By Cbanklee cbanklee 10 18.5k 21-08-2020, 10:44 AM
Last Post: Naijablogger
  TUTORIAL: Newbie To Wp--install A Wordpress Theme Manually Hot Step gkitng 4 11k 21-07-2020, 10:12 AM
Last Post: Muhammed
  TUTORIAL: 5 Best Wordpress Plugins To Clone Or Duplicate A Site (compared) flow 1 3k 21-07-2020, 09:47 AM
Last Post: Muhammed
  HELP: Which Host Do You Recommend For Starting Up A Wordpress Blog? Noblest 9 13.9k 25-04-2020, 09:02 PM
Last Post: Rilwizy
  MUST READ: How to Fix the 500 Internal Server Error in WordPress [Finally Solved] flexible 0 2.9k 14-04-2020, 08:11 PM
Last Post: flexible
  MUST READ: 10 Wordpress Problems You Can Solved Step-by-step (2020) flexible 0 3.7k 06-01-2020, 07:13 PM
Last Post: flexible




Advertisement
ihostright