The following plugins support direct upload to the cloud, bypassing your server upload limits:
- Use-your-Drive | Google Drive plugin for WordPress
- Share-one-Drive | OneDrive plugin for WordPress
- Out-of-the-Box | Dropbox plugin for WordPress (max 300MB)
If direct uploads aren't supported, the plugin will upload the files via your server. In that case, it uses the max size limit set on your server. It looks at the PHP settings post_max_size & upload_max_filesize to determine this. However almost all hosting providers give chance to customize this default configuration
- via your server configuration panel,
- by override php.ini or
- by updating your .htaccess files.
To increase your upload limit try one of these suggestions:
2) .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. Open or create the .htaccess file in the root folder and add the following code:
php_value upload_max_filesize 1024M php_value post_max_size 1024M php_value max_execution_time 300 php_value max_input_time 300
3) Theme Functions File
There are cases where we have seen that just by adding the following code in the theme function’s file, you can increase the upload size:
@ini_set( 'upload_max_size' , '1024M' ); @ini_set( 'post_max_size', '1024M');
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.