How to Increase the Max Upload Size Limit

Instructions on How to Increase the Max Upload Size Limit

Info

Max Upload Size is the largest file size that can be uploaded to your WordPress installation.

The upload_max_filesize directive can be set in .htaccess, php.ini , .user.ini or wp-config.php file. To gain access to these files you will need FTP credentials. If you do not have these please contact your hosting provider.

  1. In your WordPress root installation locate any of these .htaccess, php.ini, .user.ini or wp-config.php
  2. Edit the file and paste the directive code
  3. Once you are done making changes save the file. If you have downloaded the file to make this change, upload it back to your server and override the existing file.

Directive for .htaccess

php_value upload_max_filesize 32M

Directive for php.ini or .user.ini

upload_max_filesize=32M

Directive for wp-config.php

@ini_set( 'upload_max_size' , '32M' );

The minimum recommended size is 32M

Warning

Changing server directives is recommended to site owners who are confident to do so. If you rather have professionals do this for you, contact your hosting provider.