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.
0 Comments