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 limit #34

Open
tomniers opened this issue Feb 25, 2022 · 0 comments
Open

upload file size limit #34

tomniers opened this issue Feb 25, 2022 · 0 comments

Comments

@tomniers
Copy link
Collaborator

The php.ini limits the file size for uploading a submission. This is probably critical for uploading workspace, as they often got a size larger then 2mb.
To change the limit you need to adapt post_max_size, upload_max_filesize, memory_limit wherby memory_limit > post_max_size > upload_max_filesize in terms of value. You need to adapt these values in the php.ini of the php version you are using e.g. code /usr/local/etc/php/7.4/php.ini. Further hints here.
So we need to change the php.ini to change the file size limit of the submission files uploaded in OJS. There is no obvious way to change this limit from OJS or is there? Should we place somewhere a hint that the user is aware of this problem and gets to know how to change it?

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

No branches or pull requests

1 participant