How to increase upload_max_filesize in php.ini

I am not finding a PHP.ini file in my root directory. I have to put this in PHP.ini file.

upload_max_filesize = 20M
post_max_size = 25M
memory_limit = 30M

I am not finding PHP.ini file after selecting “Show hidden files” what should I do now? as I have seen all the steps in a tutorial increase upload size in WordPress. Should I create a new file. Isn’t it overwrite the previous file?. Any one knows how to do this then please let me know.

In free hosting the max upload file size is limited to 10 MB which can not be increased.
You can check a knowledgebase article about this here https://infinityfree.net/support/how-to-upload-big-files-archives/

2 Likes

There is no other solution to increase the size limit?

No, there is no solution to increase upload limit on free hosting. If you want to increase upload limit you have to upgrade to premium hosting.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.