Skip to content

Offer a way to update php.ini at startup based on FILE_UPLOAD_SIZE_LIMIT #423

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

Closed
stavros-k opened this issue Jul 24, 2023 · 2 comments · Fixed by #430
Closed

Offer a way to update php.ini at startup based on FILE_UPLOAD_SIZE_LIMIT #423

stavros-k opened this issue Jul 24, 2023 · 2 comments · Fixed by #430
Labels

Comments

@stavros-k
Copy link

Changing the FILE_UPLOAD_SIZE_LIMIT while bookstack does not error out, php.ini dictates the max file is 10M hardcoded.

Alternatives:

Display a log message when FILE_UPLOAD_SIZE_LIMIT is changed informing user that has to bind mount a modified php.ini file

Thanks

@rjhenry
Copy link
Collaborator

rjhenry commented Aug 11, 2023

Take a look at the linked PR. I'll happily review a PR to make changes to php.ini if you bring one forward.

@stale
Copy link

stale bot commented Sep 16, 2023

This issue has been automatically marked as stale because it has not had any activity for the last 30 days. It will be closed if no further activity occurs during the next 7 days. Thank you for your contributions.

@stale stale bot added the stale label Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants