Cart
Name.comSupportArticlesIncreasing the maximum file size limit

Increasing the maximum file size limit

Last Updated: December 04, 2023

If you are trying to upload a file to your hosting, and you get an error that the file is too large, it is possible to change the maximum file size limit.

To do so, create a file named php.ini in whatever directory you want to increase the upload limit for. In most cases, that is in public_html folder. Once you have created that file (with the permissions set to 0644), paste this into the file itself:

upload_max_filesize = 100M

max_execution_time = 1000

post_max_size = 100M

Once you have saved the file, your upload limit will be increased.

Note: You can change the values you are increasing by changing the number.

Chat with an expert

Live agent: 24/7

Open a support ticket

Anytime, 24-7

Get your business online and on point

Do it all right here with tools that make every step simple.