Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions glpi/files/etc/php/conf.d/glpi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,12 @@ session.cookie_samesite = "Strict"

; Do not expose PHP version
expose_php = off

; allow posting larger files (e.g., for attachments)
post_max_size = 20M
upload_max_filesize = 20M
Comment on lines +9 to +11
Copy link
Member

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.

Copy link
Contributor Author

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 ?


; Increase values for large operations
memory_limit = 256M
Copy link
Member

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably yes

max_input_vars = 5000
max_execution_time = 60