How to avoid php.ini upload_max_filesize?

38 Views Asked by At

I am trying to upload a larger file than the upload_max_filesize configured in the php.ini Is there any way to avoid the upload_max_filesize. I am using plupload.js to upload files to Google Drive.

1

There are 1 best solutions below

0
On

You can try putting .user.ini in your directory where upload script is located with following content.

upload_max_filesize = 100M
post_max_size = 100M

Here I am using 100M but you may not need that much.