How to increase the WordPress Max File Upload Size

0
231

When looking for a good WordPress hosting company, you need to take a good look at some of the limits the hosts have. Some of the hosting companies limit the resources you get depending on the hosting package you choose. In order to upload files, pictures, movies, themes or plugins easily you need to check the WordPress Max File Upload Size prior purchasing your new hosting account. If you have already purchased your hosting account, we will show to how to find your WordPress Max File Upload Size and how to increase it easily.

What is the WordPress Max File Upload Size?

The max file upload size is pretty self explanatory. This is the size of files that you can upload to your website. If you are a designer, you need to upload high quality pictures, videos or presentations, this limit might give you a hard time creating your dream WordPress site. Do not get stressed, we will show you how to see your limit easily, and how to increase it.

If you have your hosting account already purchased and your WordPress already installed, you simply need to navigate to the BackEnd –> Media –> Add New. There you can see the current limit your hosting provider has set for you.

In some hosting providers, the limit is as low as 2 MB, this can be too little and you might find it difficult to upload even pictures.

WordPress Max File Upload Size 2 MB

WordPress Max File Upload Size 64 MB

How to increase the WordPress Max File Upload Size

Option 1: Create or Edit PHP.INI file

Most of the WordPress users, especially beginners, use shared hosting to host their sites. If you open your cPanel, FileManager you will see a file called: php.ini in your directory. If there is no such file, then use the Create New file have it called php.ini
In that file php.ini add the following code:

1 upload_max_filesize = 64M
2 post_max_size = 64M
3 max_execution_time = 300

This is extremely useful tutorial that works, however you cannot set a limit that is higher than the allowed on the hosting server. If 64MB is not working for example, try something lower, linke 32MB or 24MB.

Option 1: Create or Edit file: .htaccess

Using a custom .htaccess file can help you increase the WordPress Max File Upload Size. If you open your cPanel, FileManager you will see a file called: .htaccess in your root directory. If there is no such file, then use the Create New file have it called .htaccess
In that .htaccess file add the following code:

1 php_value upload_max_filesize 64M
2 php_value post_max_size 64M
3 php_value max_execution_time 300
4 php_value max_input_time 300

NO COMMENTS

LEAVE A REPLY