Increasing the maximum file size limit

Last Updated: Sep 14, 2017

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.

Name.com is an ICANN-accredited domain name registrar. In addition to great pricing and a commitment to world-class customer service, we offer web hosting, email, website builder, premium and expired domain names, and SSL certificates.