
Vultr's One Click WordPress has a maximum upload file size of two gigabytes. This limit is quite generous and usually doesn't need modification. However, if you need to upload files larger than two GB, this tutorial explains how to change the upload file limit.
This guide assumes you have deployed a Vultr One-Click WordPress instance.
SSH to your instance.
Edit the Nginx HTTP site configuration.
Look for client_max_body_size.
Change client_max_body_size to your desired limit. The abbreviation 2G sets the limit to two gigabytes. You can also use K for kilobytes or M for megabytes.
Repeat these steps for the HTTPS site configuration.
Change client_max_body_size to your desired limit.
Find your current PHP version in the WordPress dashboard under Tools > Site Health > Info > Server > PHP version.
Edit the configuration file /etc/php/YOUR_PHP_VERSION/fpm/pool.d/www.conf. Replace YOUR_PHP_VERSION with the major version number. For example, if the dashboard shows PHP version 7.4.15, your configuration files location is:
Change these values to your desired limit. You may find them near the end of the file.
Restart Nginx and PHP services to apply your changes. Replace 7.4 with your PHP version.
Navigate to Tools > Site Health > Info > Media Handling in your WordPress Dashboard. Verify that the following items show your new file limit:
0 Comments
Be the first to comment and share your perspective with the community.