Skip to content
CodeAstrology
Working Hours 9:30 am - 6:30 pm (Sun - Thu)
Contact Us contact@codeastrology.com
CodeAstrology

CodeAstrology

We Develop and Sell WordPress Plugins and Themes

  • Home
  • About
    • Services
    • Company
    • Team
  • Products
    • Premium Products
    • Woo Product Table
    • Min Max Quantity & Step Control
    • UltraAddons
    • Pricing – Add to cart button Changer
  • Blog
  • Contact
  • My Account
    • Support Area
    • Affiliate Area
 0 - $0.00
Get Quote
ncrease Maximum Upload size in cPanel
By Jakir Hossain

How to increase Maximum Upload size in cPanel

When you want to upload a large file, WordPress gives you the option to upload it in pieces. But if you’re trying to upload something really big, the maximum size for an individual file attachment might be too small. This is typically due to the low upload size limit imposed by WordPress. If you’re hosting your own website and want to be able to upload larger files, you’ll need to increase the Maximum Upload Size in cPanel. 

You have just created a new website and are in the process of uploading your first few files. Suddenly, you receive an error message that says your file is too large. What do you do? One way is to install a plugin that will increase the maximum upload size for you. There are a number of plugins available that can do this, and many of them are free. Another option is to change the settings in your cPanel account. 

Table of Contents

  • How to increase Maximum Upload size in cPanel
  • What Is the Maximum Upload Size in WordPress?
  • Why Do I Need to Increase the WP Upload Max Size?
  • Now, follow these few steps that will help you increase your maximum upload size.
    • Step 1: Access your cPanel dashboard
    • Step 2: Select PHP Version
    • Step 3: PHP Options Panel
    • Step 4: Max Values Set
  • Final Words

How to increase Maximum Upload size in cPanel

There are a few ways to increase the maximum upload size in cPanel. Depending on your hosting provider and server, however, some methods may work better than others. But first we have to know what the maximum upload size is in WordPress and why do I need it? So let’s start it.

What Is the Maximum Upload Size in WordPress?

In WordPress, the maximum file size that can be uploaded is usually between 2 Mb and 256 Mb. The Max limit is 2GB, and if you exceed this size, your file will not upload and WordPress will give you an error.

define( ‘WP_MAX_UPLOAD_SIZE’, ‘256MB’ );

max file size

The maximum upload size is determined by:

upload_max_filesize: This is the maximum size of a SINGLE file.

post_max_size: This is the maximum size of the request’s entire body (which may include multiple files as well as other data).

memory_limit: It’s the maximum amount of server memory a PHP script can use. According to the PHP manual, “this specifies the maximum amount of memory a script is allowed to allocate in bytes.” This keeps bad scripts from consuming all of a server’s RAM.

max_execution_time : This lets you set how long a script can run before it has to stop. The default time is 30 seconds, but you can set it to anything else. It’s called “max input time,” and it tells the script how long it can take to read input data, like POST and GET. In most cases, this is increased to allow for bigger file uploads.

max_input_time:The default time is 30 seconds, but you can set it to anything else. It’s called “max input time,” and it tells the script how long it can take to read input data, like POST and GET. In most cases, this is increased to allow for bigger file uploads. To use max execution time instead of -1, set the value to 1.

Why Do I Need to Increase the WP Upload Max Size?

For a variety of reasons, you may need to increase the maximum upload file size on your WordPress site. Here are some of the most common:

  • A lot of people have websites that are very big, and if you want to install a big theme or plugin through the WordPress admin dashboard, you might need to change the WP upload max size.
  • This allows you to upload high-resolution new images, videos, audio, and other media on a regular basis. It can fill up quickly. By increasing the WP upload max size, you’ll be able to add new content without having to worry about exceeding your site’s storage limit.
  • Increasing your site’s upload max size is an easy way to improve the performance of your WordPress site. Larger files can take longer to upload, which can slow down the loading of your pages.
  • When it comes to selecting an image or video to use as your website’s background or header, you want to make sure that you select something that is high quality and will look great on your site. However, if you are trying to upload a large video or image, you may find that your site’s upload max size is preventing you from doing so. This can be frustrating, but there are a few things that you can do to increase your WP upload max size.
  • Increasing your WP upload max size can have negative consequences for both your site and your visitors. For example, If you plan to sell digital files such as e-books, photographs, videos, themes, and plugins directly from your website, it may slow down or even crash. Additionally, if visitors are trying to access a page that’s been slowed down by too many large files, they may not be able to view it properly.

Now, follow these few steps that will help you increase your maximum upload size.

Step 1: Access your cPanel dashboard

A lot of web hosting companies give you a dashboard called cPanel to help you set up your server and website. Through its interface, you can easily set the maximum upload file size.

So, you have to access your cPanel dashboard.

cPanel dashboard

Step 2: Select PHP Version

The PHP Version can be found in the Softwear Area on the majority of the cPanel Dashboard. If you can’t find it, try looking for it in the advanced area.

Here, you can change your server’s current PHP version. Click on the Select PHP Version.

PHP Version

Step 3: PHP Options Panel

Click on the Options tab in the navigation menu to go to the PHP Options panel.

the Options tab

Step 4: Max Values Set

After that, you will find lots of PHP extensions for the current PHP version.Scroll down to find the upload_max_filesize, post_max_size, memory_limit, max_execution_time, and max_input_time parameters. Here you can set the value on the basis of the current hosting plan.

Values Set

Note: There is no need to save changes if you are using the latest versions of cPanel. If not, you have to click the save changes button

Related Post

How to Install WordPress Plugins

Final Words

Following the steps outlined in this article will help increase your maximum upload size in cPanel. This can be a great help when you need to upload large files or when you are dealing with a lot of traffic on your website. remember to keep your cPanel account updated with the latest security patches and max upload size limits. So always test any changes you make to your website to ensure that they do not cause any negative effects.

code astrology cpanel WooCommerce WordPress

Share

Post navigation

Previous: How to Add Meta Descriptions in WordPress Without Plugin?
Next: How to Reduce Initial Server Response Time Shown in WordPress?

Free Download

Woo Product Table (Free Version)

Checkout Added to cart

Min Max Quantity & Step Control (Free)

Checkout Added to cart

UltraAddons Elementor (Free)

Checkout Added to cart

Premium Plugins

Woo Product Table Pro

  • Billed once per year until cancelled

  • Billed once per year until cancelled

  • Billed once per year until cancelled

Checkout Added to cart

Min Max Step Control Pro

  • Billed once per year until cancelled

  • Billed once per year until cancelled

  • Billed once per year until cancelled

Checkout Added to cart

Recent Posts

  • Common Mistakes in Software Development and Ways to Avoid Them
  • Top five WordPress Page Builders
  • What is a Woo Product Table?
  • The 7 Principles of Conversion-Centered Landing Page Design
  • Potential analysis of social media channels in relation to the success of customer retention
  • How To Fix Common SSL Issues in WordPress
  • 12 Tips to Create a WordPress Blog
  • Why don’t WordPress Posts not showing on mobile
  • How to Prevent a 504 Gateway Timeout in WordPress
  • How to login into a WordPress site using the phone number
  • How to Show Widgets on Specific Pages in WordPress
  • How do I Fix Mobile Menu in WordPress?
  • How to Delete WordPress Site from Host gator

Categories

  • Advanced Custom Fields
  • Advanced Search
  • Business Idea
  • Custom Fields WooCommerce
  • Custom Taxonomy
  • E-Commerce
  • Errors
  • Featured Tutorial
  • Instant Search
  • Min Mx
  • Multiple Product to Cart
  • News
  • Online Business
  • Personal
  • PHP
  • Plugin
  • Product Variation
  • Programming
  • Quick Buy
  • Theme
  • Tips and Tricks
  • Uncategorized
  • Woo Product Table pro
  • WooCommerce
  • WooCommerce Filter
  • WooCommerce Product Table
  • WooCommerce Product Table Free
  • Wordpress
Trustpilot

Subscribe to our Newsletter

Resources

  • Support
  • Coupons
  • Blog & News
  • Write For Us
  • Video Tutorials
  • Affiliate Program

Company

  • Our Service
  • Get Quote
  • Refund Policy
  • Privacy Policy
  • Support Policy
  • Terms of Service

Powered By

© 2022, CodeAstrology. All Rights Reserved.
  • Privacy Policy
  • Terms of Service
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT