{"id":15599,"date":"2025-04-03T13:50:49","date_gmt":"2025-04-03T13:50:49","guid":{"rendered":"https:\/\/rapyd.cloud\/blog\/?p=15599"},"modified":"2025-04-16T17:06:29","modified_gmt":"2025-04-16T17:06:29","slug":"wordpress-increase-upload-size","status":"publish","type":"post","link":"https:\/\/rapyd.cloud\/blog\/wordpress-increase-upload-size\/","title":{"rendered":"How to Increase Maximum Upload File Size in WordPress"},"content":{"rendered":"\n<p>If you build or manage a WordPress site, you&#8217;ll need to upload files at some point.<\/p>\n\n\n\n<p>They can be large images, videos, PDFs, or even plugin or theme files.&nbsp;<\/p>\n\n\n\n<p>Now imagine when you go into the WordPress dashboard and try to upload, you get this annoying error message:<\/p>\n\n\n\n<p><strong><em>\u201cFile exceeds the maximum upload size for this site.\u201d<\/em><\/strong><\/p>\n\n\n\n<p>This frustrating error message is a very common issue for WordPress users.&nbsp;<\/p>\n\n\n\n<p>But the good news is that WordPress is really flexible, and there are several ways to perform a WordPress increase upload size action.<\/p>\n\n\n\n<p>In this article, I\u2019ll help you check your current WordPress maximum upload size and walk you through the process of how to increase the maximum upload size limit in WordPress effectively.<\/p>\n\n\n\n<p>Let&#8217;s begin!<\/p>\n\n\n\n<h2 id=\"how-to-check-your-current-wordpress-maximum-upload-size\" class=\"wp-block-heading\">How to Check Your Current WordPress Maximum Upload Size<\/h2>\n\n\n\n<p>Knowing its current limit is important before you increase your site&#8217;s upload size limit. Below are the most common and fastest ways to check the maximum upload size limit.<\/p>\n\n\n\n<h3 id=\"1-check-in-the-wordpress-media-library\" class=\"wp-block-heading\">1. Check in the WordPress Media Library<\/h3>\n\n\n\n<p>A simple method is to:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to your WordPress Admin Dashboard.<\/li>\n\n\n\n<li>Navigate to <strong>Media &gt; Library<\/strong>.<\/li>\n\n\n\n<li>Click on <strong>Add New<\/strong>, and it will bring up the uploader option.<\/li>\n<\/ol>\n\n\n\n<p>Under the file selection option, you should see a message like:<\/p>\n\n\n\n<p><strong>\u201cMaximum upload file size: 60 MB.\u201d<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"374\" src=\"https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-7-1024x374.png?wsr\" alt=\"Media Library\" class=\"wp-image-15600\" srcset=\"https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-7-1024x374.png 1024w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-7-300x110.png 300w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-7-768x280.png 768w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-7-1536x561.png 1536w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-7-380x139.png 380w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-7-550x201.png 550w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-7-800x292.png 800w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-7-1160x423.png 1160w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-7.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The value may be &#8220;2 MB,&#8221; &#8220;64 MB,&#8221; &#8220;128 MB,&#8221; or more, depending on your host defaults and any modifications you may have made already.<\/p>\n\n\n\n<h3 id=\"2-use-the-site-health-info-screen\" class=\"wp-block-heading\"><strong>2. Use the Site Health Info Screen<\/strong><\/h3>\n\n\n\n<p>From WordPress 5.2, Site Health also gives you information about your site&#8217;s environment. This also includes your file upload limit.<\/p>\n\n\n\n<p><strong>To view it:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>From your WordPress admin dashboard, click <strong>Tools &gt; Site Health<\/strong>.<\/li>\n\n\n\n<li>Click on <strong>Info<\/strong>.<\/li>\n\n\n\n<li>Select Media Handling. See the size of an uploaded file to see the current WordPress limit.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"408\" src=\"https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-8-1024x408.png?wsr\" alt=\"WordPress Site Health\" class=\"wp-image-15601\" srcset=\"https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-8-1024x408.png 1024w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-8-300x120.png 300w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-8-768x306.png 768w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-8-1536x612.png 1536w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-8-380x152.png 380w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-8-550x219.png 550w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-8-800x319.png 800w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-8-1160x463.png 1160w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-8.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 id=\"how-to-increase-maximum-upload-file-size-in-wordpress\" class=\"wp-block-heading\">How to Increase Maximum Upload File Size in WordPress<\/h2>\n\n\n\n<p>Now let\u2019s share several ways to perform a WordPress increase upload size update. You only need <strong>one<\/strong> method to work, so feel free to skip around if your hosting environment doesn\u2019t allow a particular approach.&nbsp;<\/p>\n\n\n\n<h3 id=\"1-update-your-htaccess-file\" class=\"wp-block-heading\">1. Update Your .htaccess File<\/h3>\n\n\n\n<p>In case your web server is running Apache (common on many shared hosting environments) you are typically able to increase the upload limit by editing the .html file. This file is generally found in your WordPress website\u2019s root directory (the same folder containing wp-config.php and wp-admin, wp-content, wp-includes folders). This is a direct way to increase upload size in WordPress through server configuration.<\/p>\n\n\n\n<p>Here\u2019s the process:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Access the .htaccess file by way of FTP (or the File Manager in your hosting control panel).&nbsp;<\/li>\n\n\n\n<li>Backup this file prior to editing it. This is important because .htaccess can be extremely sensitive and errors can happen because of incorrect modification. In that case, you might need the backup file.<\/li>\n\n\n\n<li>Change.htaccess as described below in a text editor or even a code editor:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>php_value upload_max_filesize 32M\n\nphp_value post_max_size 64M\n\nphp_value memory_limit 128M\n\nphp_value max_execution_time 300\n\nphp_value max_input_time 300<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Save the changes<\/strong> and close the file.<br><\/li>\n<\/ul>\n\n\n\n<p>Your brand-new upload limit should now be in place if your server is reading .htaccess correctly. In case you get a 500 Internal Server Error, your hosting might be using PHP in CGI mode, so .htaccess cannot override those settings.&nbsp;<\/p>\n\n\n\n<p>If that happens, delete those lines and try another way below to restore your site.<\/p>\n\n\n\n<h3 id=\"2-modify-the-php-ini-file\" class=\"wp-block-heading\">2. Modify the php.ini File<\/h3>\n\n\n\n<p>Many hosts set default PHP values, such as upload size limits in a php.ini file.\u00a0<\/p>\n\n\n\n<p>The php.ini file:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Maybe in your site&#8217;s root folder, inside a folder like \/etc\/php\/7.4\/fpm\/, or in a different directory,<\/li>\n\n\n\n<li>May have a name slightly different from php.ini or user.ini depending on the host configuration.<\/li>\n<\/ul>\n\n\n\n<p>Once you find the php.ini file, follow the steps below:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the php.ini file with FTP or your hosting control panel&#8217;s file manager.<\/li>\n\n\n\n<li>Search for directives like <strong>upload_max_filesize<\/strong>, <strong>post_max_size<\/strong>, and possibly <strong>memory_limit<\/strong>. If they are missing, then create such files.<\/li>\n<\/ul>\n\n\n\n<p><strong>Set their values<\/strong>, for example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>upload_max_filesize = 32M\n\npost_max_size = 64M\n\nmemory_limit = 128M\n\nmax_execution_time = 300\n\nmax_input_time = 300<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Save<\/strong> the file and exit.<\/li>\n<\/ul>\n\n\n\n<p>The changes could cause your server to restart PHP-FPM or Apache. Look in your hosting control panel for a Restart Services option (usually under Restart PHP or Restart Apache). If not, changes might just roll back after a brief delay. You can also ask your hosting provider to restart the services.<\/p>\n\n\n\n<h3 id=\"3-modify-the-user-ini-file\" class=\"wp-block-heading\">3. Modify the .user.ini File<\/h3>\n\n\n\n<p>In your WordPress root directory, you may find a file called user.ini on some hosting platforms, especially those that prefer user-level overrides instead of global PHP.ini changes. If it is missing, you can create it. To perform a WordPress increase upload size action:<br><\/p>\n\n\n\n<p>The process is almost identical to editing php.ini:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Locate<\/strong> or <strong>create<\/strong> a .user.ini file in your site\u2019s root directory.<br><\/li>\n<\/ol>\n\n\n\n<p><strong>Add or modify<\/strong> the same directives:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>upload_max_filesize = 32M\n\npost_max_size = 64M\n\nmemory_limit = 128M\n\nmax_execution_time = 300\n\nmax_input_time = 300<\/code><\/pre>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><strong>Save the file<\/strong>.<br><\/li>\n<\/ol>\n\n\n\n<p>See if those changes took place by visiting <strong>Media &gt; Add New<\/strong> in your WordPress dashboard. Still no updated limit? Check with your host that .user.ini overrides are allowed on your plan<\/p>\n\n\n\n<h3 id=\"4-modify-php-options-via-cpanel\" class=\"wp-block-heading\">4. Modify PHP Options via cPanel<\/h3>\n\n\n\n<p>If your host supports cPanel You may be able to increase the WordPress max upload file size via a graphical interface, no editing code or config files required. While designs may differ by cPanel version, typical steps are:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Log in<\/strong> to your cPanel dashboard.<\/li>\n\n\n\n<li>Find the <strong>Software<\/strong> section and click on <strong>Select PHP Version<\/strong> (or a similar option).<\/li>\n\n\n\n<li>In the new screen, look for <strong>Options<\/strong> or <strong>PHP Options<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p>Within that interface, you should see a list of PHP directives, including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>upload_max_filesize<\/strong><\/li>\n\n\n\n<li><strong>post_max_size<\/strong><\/li>\n\n\n\n<li><strong>memory_limit<\/strong><\/li>\n\n\n\n<li><strong>max_execution_time<\/strong><\/li>\n\n\n\n<li><strong>max_input_time<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Adjust these values to the new limits you want. Check that the post-max size is larger or equal to the upload-max size. Also, make sure your memory limit is high enough to handle new file sizes. Click the save button if your cPanel has one. Otherwise, changes might be saved automatically.<\/p>\n\n\n\n<p><strong>Note:<\/strong> cPanel might place upper thresholds that match your hosting plan. In that case, to set a higher limit, you&#8217;ll need to upgrade or contact support for a custom solution.<\/p>\n\n\n\n<h3 id=\"5-increase-the-max-upload-file-size-in-nginx\" class=\"wp-block-heading\">5. Increase the Max Upload File Size in Nginx<\/h3>\n\n\n\n<p>If your hosting environment uses Nginx instead of Apache, you must do the process a bit differently to increase file size limits. You have to modify both the php.ini and the Nginx configuration file (nginx.conf) as Nginx enforces its own limit via the <strong>client_max_body_size<\/strong> directive.<\/p>\n\n\n\n<p><strong>Step 1: Update <\/strong><strong>php.ini<\/strong><\/p>\n\n\n\n<p>Locate your php.ini file, often found in \/etc\/php\/7.4\/fpm\/php.ini (the exact path may vary).<\/p>\n\n\n\n<p>Set your desired values:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>upload_max_filesize = 64M\npost_max_size = 128M<\/code><\/pre>\n\n\n\n<p>Save the file.<\/p>\n\n\n\n<p>Restart PHP-FPM by using this command:<br><br>sudo service php7.4-fpm restart &nbsp;<br><em>(Adjust the command for your PHP version as needed.)<\/em><br><\/p>\n\n\n\n<p><strong>Step 2: Update <\/strong><strong>nginx.conf<\/strong><\/p>\n\n\n\n<p>Find nginx.conf, typically in \/etc\/nginx\/nginx.conf.<\/p>\n\n\n\n<p>Inside the http {} block, the server {} block, or a specific location {} block, add or modify:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>client_max_body_size 128M;<\/code><\/pre>\n\n\n\n<p>Save the file.<\/p>\n\n\n\n<p>Restart Nginx with the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo service nginx reload<\/code><\/pre>\n\n\n\n<p>You need to contact your hosting provider to have your website\u2019s <strong>client_max_body_size <\/strong>value<strong> <\/strong>changed, if you&#8217;re hosted on a <a href=\"https:\/\/rapyd.cloud\/managed-wordpress-hosting\/\" target=\"_blank\" rel=\"noopener\" title=\"fully managed wordpress hosting\">fully managed wordpress hosting<\/a> platform.<\/p>\n\n\n\n<h3 id=\"6-use-the-wordpress-upload_size_limit-filter\" class=\"wp-block-heading\">6. Use the WordPress upload_size_limit Filter<\/h3>\n\n\n\n<p>WordPress itself has a built-in filter, <strong>upload_size_limit<\/strong>. You can use this to also define or override the maximum upload file size limit. This is the limit that is usually shown on the Media Library when you try to upload media.&nbsp;<\/p>\n\n\n\n<p>Here\u2019s the code snippet to customize that.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function filter_site_upload_size_limit( $size ) {\n\n&nbsp;&nbsp;&nbsp;&nbsp;\/\/ 10 MB.\n\n&nbsp;&nbsp;&nbsp;&nbsp;return 1024 * 10000;\n\n}\n\nadd_filter( 'upload_size_limit', 'filter_site_upload_size_limit', 20 );<\/code><\/pre>\n\n\n\n<p>To use this code snippet:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Copy and paste the code snippet to your <strong>theme\u2019s <\/strong><strong>functions.php<\/strong> file or use a code editor plugin.<\/li>\n\n\n\n<li>Adjust the numeric value that we shared to match your desired file size limit.<\/li>\n<\/ol>\n\n\n\n<p>Note: If your server-side limit is lower than the one you set, you will get the highest limit your server is offering. So you have to consult your hosting provider again to increase your server limit.<\/p>\n\n\n\n<h3 id=\"7-upload-files-via-ftp-sftp\" class=\"wp-block-heading\"><strong>7. Upload Files via FTP\/SFTP<\/strong><\/h3>\n\n\n\n<p>Almost all of these methods consist of some level of code tweaking. And I understand that you might feel a bit scared to customize the codebase and unintentionally break your site. You can actually avoid the code tweaking, by directly uploading from FTP\/SFTP.<\/p>\n\n\n\n<p>&nbsp;Here\u2019s how to do that:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Set up an FTP\/SFTP connection<\/strong> with a tool like FileZilla. You\u2019ll need your FTP credentials (host, username, password, and possibly a port number).<\/li>\n\n\n\n<li><strong>Connect<\/strong> to your web server.<\/li>\n\n\n\n<li><strong>Navigate<\/strong> to your WordPress wp-content\/uploads folder (or whichever folder you\u2019d like to store your files in).<\/li>\n\n\n\n<li><strong>Drag and drop<\/strong> the large file from your local computer to the folder on your server.<\/li>\n<\/ol>\n\n\n\n<p>This places the file on your server but it won&#8217;t appear in the WordPress Media Library by default. Install a plugin like <strong>Add From Server<\/strong> that will recognize your large file as a file that WordPress can insert into posts and pages. This plugin searches your server for files and imports them into the Media Library. Or you can use <strong>WP-CLI<\/strong> commands (media import).<\/p>\n\n\n\n<p>Changing file size limits is often the easiest workaround for many users with FTP\/SFTP. Especially useful if you rarely upload large files and don&#8217;t want to fuss with server configurations.<\/p>\n\n\n\n<h3 id=\"8-increase-the-max-upload-file-size-for-wordpress-multisite\" class=\"wp-block-heading\">8. Increase the Max Upload File Size for WordPress Multisite<\/h3>\n\n\n\n<p>WordPress Multisite environments add another level of configuration. You can set a global maximum upload limit for all subsites if you run a network of sites under one WordPress installation, or override it for specific subsites.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Access Network Admin:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Go to My Site &gt; Network Admin &gt; Dashboard in the WordPress toolbar if you&#8217;re logged in as a Network administrator.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Go to Settings:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Go to Network Settings from the Network Admin dashboard.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Find \u201cUpload Settings\u201d:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Look for the upload file size. The default is often around 1500 KB (1.25 MB), but You can change it to 131072 KB (128 MB).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Save Changes.<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Remember that server-level limits override any Network Settings you set. If your server is capped at 32 MB and you set 128 MB in the Network Settings, uploads will still fail above 32 MB. You\u2019ll need to ensure your server\u2019s settings (in php.ini, .htaccess, or .user.ini) match or exceed the value you put in your Network Settings.<\/p>\n\n\n\n<h3 id=\"9-increase-the-upload-size-with-a-wordpress-plugin\" class=\"wp-block-heading\">9. Increase the Upload Size with a WordPress Plugin<\/h3>\n\n\n\n<p>Does modifying config files, or some coding here and there seem intimidating for you? Luckily, there are plugins that will increase the upload file size for WordPress if your host allows it. One of the most popular plugin that we recommend is the <strong>MaxUploader<\/strong> plugin.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In your WordPress Admin, go to <strong>Plugins &gt; Add New<\/strong>.<\/li>\n\n\n\n<li>Search for <strong>MaxUploader<\/strong>.<\/li>\n\n\n\n<li><strong>Install<\/strong> and <strong>Activate<\/strong> the plugin.<\/li>\n\n\n\n<li>Go to its <strong>Media &gt; Increase Upload Limit<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p>Inside the plugin\u2019s interface, you\u2019ll see the option called \u201c<strong>Choose Maximum Upload File Size<\/strong>\u201d, change it as needed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"451\" src=\"https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-9-1024x451.png?wsr\" alt=\"Increase Uplpad Limit\" class=\"wp-image-15602\" srcset=\"https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-9-1024x451.png 1024w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-9-300x132.png 300w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-9-768x338.png 768w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-9-1536x676.png 1536w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-9-380x167.png 380w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-9-550x242.png 550w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-9-800x352.png 800w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-9-1160x510.png 1160w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2025\/04\/image-9.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Please note that: <\/strong>You can only change the upload file size limit here if your hosting provider allows you to change it. In the event that your hosting providers cap the hosting environment with a lesser value, the plugin can not override this.&nbsp;<\/p>\n\n\n\n<p>For many site owners, particularly those on flexible hosting, this plugin approach is the easiest.<\/p>\n\n\n\n<h3 id=\"10-contact-your-hosting-provider-support\" class=\"wp-block-heading\">10. Contact Your Hosting Provider Support<\/h3>\n\n\n\n<p>If you adjust .htaccess, php.ini, user.ini, or other options but still can&#8217;t increase the maximum upload limit, your hosting provider probably has a cap imposed by default. Shared hosting providers usually do this to protect their servers from resource abuse.<\/p>\n\n\n\n<p>Or maybe you just want to get into any technical hassle.<\/p>\n\n\n\n<p>In any of these cases, contact your hosting support to perform a WordPress increase upload size adjustment on your account. Many hosts will adjust limits quickly for you if your plan allows that. Some hosts will want you to upgrade your plan for large file handling.<\/p>\n\n\n\n<h2 id=\"wrapping-up\" class=\"wp-block-heading\">Wrapping Up<\/h2>\n\n\n\n<p>The &#8220;exceeds the maximum upload size&#8221; error is annoying if you have no idea why this is happening and how to solve it.&nbsp;<\/p>\n\n\n\n<p>But as you saw from this article, thankfully there are easy ways to safely increase WordPress upload size.<\/p>\n\n\n\n<p>Applying any one or all of these will allow your site to handle larger files, like uploading a plugin, a huge image gallery, a new video background, or any other asset you need.&nbsp;<\/p>\n\n\n\n<p>But before you do these, do not forget to back up your critical configuration files at all times. So that you can always restore your site if something goes wrong.<\/p>\n\n\n\n<p>You should be able to easily upload large files once you get your server and WordPress setup right. If you are still facing any problems or have any questions, don\u2019t hesitate to ask us in the comments section below.<\/p>\n\n\n\n<h2 id=\"frequently-asked-questions\" class=\"wp-block-heading\">Frequently Asked Questions<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"544\" src=\"https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2024\/10\/IMAGE_-Please-create-a-default-FAQ-image-for-all-blogs-with-fleet-1024x544.png\" alt=\"FAQ\" class=\"wp-image-12962\" srcset=\"https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2024\/10\/IMAGE_-Please-create-a-default-FAQ-image-for-all-blogs-with-fleet-1024x544.png 1024w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2024\/10\/IMAGE_-Please-create-a-default-FAQ-image-for-all-blogs-with-fleet-300x159.png 300w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2024\/10\/IMAGE_-Please-create-a-default-FAQ-image-for-all-blogs-with-fleet-768x408.png 768w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2024\/10\/IMAGE_-Please-create-a-default-FAQ-image-for-all-blogs-with-fleet-380x202.png 380w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2024\/10\/IMAGE_-Please-create-a-default-FAQ-image-for-all-blogs-with-fleet-550x292.png 550w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2024\/10\/IMAGE_-Please-create-a-default-FAQ-image-for-all-blogs-with-fleet-800x425.png 800w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2024\/10\/IMAGE_-Please-create-a-default-FAQ-image-for-all-blogs-with-fleet-1160x616.png 1160w, https:\/\/rapyd.cloud\/blog\/wp-content\/uploads\/2024\/10\/IMAGE_-Please-create-a-default-FAQ-image-for-all-blogs-with-fleet.png 1252w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-essential-blocks-accordion  root-eb-accordion-w75xd\"><div class=\"eb-parent-wrapper eb-parent-eb-accordion-w75xd \"><div class=\"eb-accordion-container eb-accordion-w75xd\" data-accordion-type=\"accordion\" data-tab-icon=\"fas fa-angle-right\" data-expanded-icon=\"fas fa-angle-down\" data-transition-duration=\"500\"><div class=\"eb-accordion-inner\">\n<div class=\"wp-block-essential-blocks-accordion-item eb-accordion-item-pprjs eb-accordion-wrapper\" data-clickable=\"false\"><div class=\"eb-accordion-title-wrapper eb-accordion-title-wrapper-eb-accordion-w75xd\" tabindex=\"0\"><span class=\"eb-accordion-icon-wrapper eb-accordion-icon-wrapper-eb-accordion-w75xd\"><span class=\"fas fa-angle-right eb-accordion-icon\"><\/span><\/span><div class=\"eb-accordion-title-content-wrap title-content-eb-accordion-w75xd\"><h3 id=\"how-to-increase-max-file-upload-size-in-wordpress\" class=\"eb-accordion-title\">How to increase max file upload size in WordPress?<\/h3><\/div><\/div><div class=\"eb-accordion-content-wrapper eb-accordion-content-wrapper-eb-accordion-w75xd\"><div class=\"eb-accordion-content\">\n<p>Customize your htaccess, user.ini, and php.ini. file from your hosting control panel to increase the maximum file upload size for WordPress.<\/p>\n\n\n\n<p>You can also simply upload from your FTP\/SFTP, or you can use plugins like <strong>MaxUploader<\/strong>.<\/p>\n<\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-essential-blocks-accordion-item eb-accordion-item-cw7ry eb-accordion-wrapper\" data-clickable=\"false\"><div class=\"eb-accordion-title-wrapper eb-accordion-title-wrapper-eb-accordion-w75xd\" tabindex=\"0\"><span class=\"eb-accordion-icon-wrapper eb-accordion-icon-wrapper-eb-accordion-w75xd\"><span class=\"fas fa-angle-right eb-accordion-icon\"><\/span><\/span><div class=\"eb-accordion-title-content-wrap title-content-eb-accordion-w75xd\"><h3 id=\"how-do-i-upload-a-large-file-to-wordpress\" class=\"eb-accordion-title\">How do I upload a large file to WordPress?<\/h3><\/div><\/div><div class=\"eb-accordion-content-wrapper eb-accordion-content-wrapper-eb-accordion-w75xd\"><div class=\"eb-accordion-content\">\n<p>For a quick fix, uploading the file from FTP\/SFTP directly to your wp-content\/uploads folder is the fastest way.<\/p>\n\n\n\n<p>Or you can change the.htaccess, .user.ini, and php.ini in your hosting control panel to increase the upload limit.<\/p>\n<\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-essential-blocks-accordion-item eb-accordion-item-y9hzn eb-accordion-wrapper\" data-clickable=\"false\"><div class=\"eb-accordion-title-wrapper eb-accordion-title-wrapper-eb-accordion-w75xd\" tabindex=\"0\"><span class=\"eb-accordion-icon-wrapper eb-accordion-icon-wrapper-eb-accordion-w75xd\"><span class=\"fas fa-angle-right eb-accordion-icon\"><\/span><\/span><div class=\"eb-accordion-title-content-wrap title-content-eb-accordion-w75xd\"><h3 id=\"how-to-increase-upload_max_filesize-in-php-ini\" class=\"eb-accordion-title\">How to increase upload_max_filesize in php.ini?<\/h3><\/div><\/div><div class=\"eb-accordion-content-wrapper eb-accordion-content-wrapper-eb-accordion-w75xd\"><div class=\"eb-accordion-content\">\n<p>To increase the upload_max_filesize directive in php.ini:<\/p>\n\n\n\n<p>Locate your php.ini file (possibly found in \/etc\/php\/7.4\/fpm\/ or \/public_html\/).<\/p>\n\n\n\n<p>Open it in a text editor and search for upload_max_filesize. If not present, add it manually.<\/p>\n\n\n\n<p>Set it to the desired value, for example: upload_max_filesize = 64M.<\/p>\n\n\n\n<p>Make sure post_max_size is equal to or larger than that same value (post_max_size = 64M or more).<\/p>\n\n\n\n<p>Save the file and restart your PHP or web server if needed.<\/p>\n<\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-essential-blocks-accordion-item eb-accordion-item-gg707 eb-accordion-wrapper\" data-clickable=\"false\"><div class=\"eb-accordion-title-wrapper eb-accordion-title-wrapper-eb-accordion-w75xd\" tabindex=\"0\"><span class=\"eb-accordion-icon-wrapper eb-accordion-icon-wrapper-eb-accordion-w75xd\"><span class=\"fas fa-angle-right eb-accordion-icon\"><\/span><\/span><div class=\"eb-accordion-title-content-wrap title-content-eb-accordion-w75xd\"><h3 id=\"what-is-the-maximum-file-size-for-wordpress-media-library\" class=\"eb-accordion-title\">What is the maximum file size for WordPress media library?<\/h3><\/div><\/div><div class=\"eb-accordion-content-wrapper eb-accordion-content-wrapper-eb-accordion-w75xd\"><div class=\"eb-accordion-content\">\n<p>There is no certain limit for maximum file size, it depends on your hosting provider and the hosting plan you have.<\/p>\n<\/div><\/div><\/div>\n<\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"If you build or manage a WordPress site, you&#8217;ll need to upload files at some point. They can&hellip;\n","protected":false},"author":11,"featured_media":5895,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","om_disable_all_campaigns":false,"_eb_data_table":"{\"undefined\":{\"columns\":{\"col\":[\"Column 1\",\"Column 2\"],\"width\":[\"\",\"\"]},\"rows\":[[\"\",\"\"],[\"\",\"\"],[\"\",\"\"],[\"\",\"\"],[\"\",\"\"]]}}","csco_post_fleet_bg_color":"linear-gradient(135deg,rgb(74,165,69) 0%,rgb(28,117,23) 100%)","csco_post_fleet_image_id":5895,"csco_post_fleet_text_color":"","full_width_enabled":false,"csco_singular_sidebar":"","csco_page_header_type":"fleet","csco_header_bg_color":"","csco_appearance_masonry":"","csco_page_load_nextpost":"","csco_post_video_location":[],"csco_post_video_location_hash":"","csco_post_video_url":"","csco_post_video_bg_start_time":0,"csco_post_video_bg_end_time":0,"footnotes":""},"categories":[40,39],"tags":[275,274],"class_list":{"0":"post-15599","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-website-development","8":"category-wordpress","9":"tag-file-size","10":"tag-upload","11":"csco-post-header-type-fleet","12":"cs-entry","13":"cs-video-wrap"},"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/rapyd.cloud\/blog\/wp-json\/wp\/v2\/posts\/15599","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rapyd.cloud\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rapyd.cloud\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rapyd.cloud\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/rapyd.cloud\/blog\/wp-json\/wp\/v2\/comments?post=15599"}],"version-history":[{"count":17,"href":"https:\/\/rapyd.cloud\/blog\/wp-json\/wp\/v2\/posts\/15599\/revisions"}],"predecessor-version":[{"id":15623,"href":"https:\/\/rapyd.cloud\/blog\/wp-json\/wp\/v2\/posts\/15599\/revisions\/15623"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rapyd.cloud\/blog\/wp-json\/wp\/v2\/media\/5895"}],"wp:attachment":[{"href":"https:\/\/rapyd.cloud\/blog\/wp-json\/wp\/v2\/media?parent=15599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rapyd.cloud\/blog\/wp-json\/wp\/v2\/categories?post=15599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rapyd.cloud\/blog\/wp-json\/wp\/v2\/tags?post=15599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}