At times, low tệp tin upload kích thước limit can stop you from uploading files via truyền thông uploader, or installing plugins and themes. When using the free version of the WordPress Backup & Migration plugin, it is likely that large files need khổng lồ be uploaded for migration purpose . However, the default value of max. File upload size in WordPress is approximated khổng lồ 1.5MB.

Therefore, it is essential lớn know how the mặc định WordPress file upload size can be improved. Here are the 4 ways to vị so.

Bạn đang xem: 6 ways to increase the maximum upload file size in wordpress

php_value upload_max_filesize 128Mphp_value post_max_size 128Mphp_value memory_limit 256Mphp_value max_execution_time 300php_value max_input_time 300Change the numbers to lớn the values that you need. The max execution time & max input đầu vào time values are in seconds và might need khổng lồ be increased further if your internet connection is slow.

For this method you will need to access your WordPress site’s root thư mục byusing FTPor tệp tin Manager app in your hosting account’s cPanel dashboard.

In most cases if you are on a shared host, then you will not see a php.ini file in your directory. If you bởi vì not see one, then create a tệp tin called php.ini and upload it in the root folder. In that file add the following code:

upload_max_filesize = 64Mpost_max_size = 64Mmax_execution_time = 300This method is reported to work for many users. Remember if 64 doesn’t work, then try 10MB (sometimes that work).

Reach over khổng lồ the customer tư vấn of your hosting provider and ask them khổng lồ increase these limits for you.


Written by


Vineetha is a technical nội dung writer with a knack of simplifying complex information into readable content. She focuses on writing nội dung in a conveyable and clear format.

Xem thêm: Mô Hình Mạng Khách Chủ - Tìm Hiểu Mô Hình Client Server Từ A


WordPress Backup & Migration

All you need to vày is showroom the plugin to your WordPress website.

To install và activate the plugin, view our installation guide.




We develop awesome WordPress plugins & WooCommerce extensions khổng lồ help build successful online businesses.


We use cookies on our website to give you the most relevant experience by remembering your preferences & repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies. However you may visit Cookie Settings lớn provide a controlled consent.
This website uses cookies to lớn improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of the basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website, lớn store user preferences và provide you with content and advertisements that are relevant. Such cookies will be stored on your browser but only upon procuring consent.

You will also have the option lớn opt-out of these cookies should you want to. But opting out of some of these cookies may have an effect on your browsing experience as per the descriptions elucidated against the respective categories below.

hotlive |