Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload file size #381

Open
adlan051 opened this issue Nov 24, 2018 · 2 comments
Open

Upload file size #381

adlan051 opened this issue Nov 24, 2018 · 2 comments
Labels

Comments

@adlan051
Copy link

Hello,
How to increase the upload size limit (2MB)?
Thanks

@ragnar76
Copy link

ragnar76 commented Dec 6, 2018

Have a look at php.ini . what you are looking for is

upload_max_filesize = 2M

Change the value to your needs

@extragornax
Copy link
Contributor

post_max_size must also be equal or greater than upload_max_filesize
Same with the RAM allowed per thread (memory_limit) that must be above both

upload_max_filesize <= post_max_size < memory_limit

You can play around to check if everything is all good, but if you don't have enough memory, the upload will crash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants