Home Technologi Increase upload limit WordPress Website on Localhost (XAMPP) – YouTube

Increase upload limit WordPress Website on Localhost (XAMPP) [php.ini, htaccess & wp-config] – YouTube

385
0
Increase upload limit Wordpress Website on Localhost (XAMPP) [php.ini, htaccess & wp-config]
Increase upload limit Wordpress Website on Localhost (XAMPP) [php.ini, htaccess & wp-config]

Increase upload limit WordPress Website on Localhost (XAMPP) [php.ini, htaccess & wp-config]

Sometime we may fall in danger or problem to upload files in our WordPress site. We can solve it easily. In a single process, it may not work. But I’ll show the 3 process that surely works at last. So let’s start………… Increase upload limit WordPress Website on Localhost (XAMPP) [php.ini, htaccess & wp-config]

Method 1: Edit file  wp-config.php:

Go to the PHP file form themefolder.. Then go to the php.ini file and click to edit with an editor.

To Search press cntr+F

copy and page into the search dialoge box and find to make changes.

For example copy php_value upload_max_filesize and paste it in the search box and then search. Then change the size to 1000M or you desired.

Like this complete all of the below:

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 2: Editing php.ini

Go to the PHP file form root folder . Then go to the php.ini file and click to edit with an editor.

To Search press cntr+F

copy and page into the search dialoge box and find to make changes.

For example copy php_value upload_max_filesize and paste it in the search box and then search. Then change the size to 1000M or you desired.

Like this complete all of the below:

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 3: Edit file .htaccess:

Make sure you back up .htaccess before you edit it.

Go to .htaccess file to edit then paste the code below, or your desired code form won.

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

Additional 3 Methods below!

4. Directly From The Platform

Some WordPress Hosting providers provide Cloudways that  have a built-in feature of changing the file size limit. Here is how you can do it directly from the platform if you have Cloudways as your hosting provider:

Go to Servers from the bar on the top and get into your desired server. Select Settings & Packages from the left pane and you’ll see Upload Size under the basic settings tab. Change it to your requirement.

5. Using  Plugin

If you are new and don’t feel free to make it manually, you want to do it manually, there is always a plugin in the WordPress repository. You just need to find the right plugin that is compatible with your current WordPress version. Try using Increase Upload Max Filesize which is compatible with the latest version of WordPress.

From the left pane of your WordPress Dashboard, navigate to Plugins -> Add New, search for the Increase Upload Max Filesize plugin from the top right corner, and Install it.

6. The Last Resort Option

If nothing else works, what can you do?  Simply ask your hosting provider to increase the file size upload limit on your WordPress application.  It is the last method they’ll surely help you out.

 

If you know any method that is easy. Don’t miss to share. Thanks

Thanks for reading

Go to our Technology page.