-
Notifications
You must be signed in to change notification settings - Fork 17
override some default values of php.ini #217
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
base: main
Are you sure you want to change the base?
Conversation
|
Salut Alexandre In my opinion it would be even better to use environnement variables with default values to handle this (and extend it to OPcache settings for instance), here is an example of what I have in mind : feat/phpini_some_values...cgrard:docker-images:feat/phpini_some_values This way we can let the default do its job or define an override in the docker-compose (or k8s manifest in my case) |
| ; allow posting larger files (e.g., for attachments) | ||
| post_max_size = 20M | ||
| upload_max_filesize = 20M |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The GLPI upload handler split files into chunks to be able to upload large files without having to change this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you certain every upload pass in this handler ? avatar, service-catalog tiles ?
| upload_max_filesize = 20M | ||
|
|
||
| ; Increase values for large operations | ||
| memory_limit = 256M |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
During the GLPI installation, we says that the memory limit requirement is 64M. Should we change this requirement?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably yes
To follow our recommendations in our documentation: https://help.glpi-project.org/tutorials/procedures/install_glpi#set-up-the-php.ini-file