Closed CaraDoLinux closed 2 years ago
Dear,
After a lot of searching, I found the reason. During installation, GLPI stores this information in the “glpi_configs” database table.
It looks like another GitHub user also spotted this same issue and created an image that resolved the issue:
https://github.com/AprendendoLinux/glpi
I'm using his image and everything is working as expected.
Anyway, thanks for the initiative.
Yours sincerely,
Henrique Fagundes Gnu/Linux Support Analyst
Good night dear!
I start by apologizing, because I'm Brazilian and I have difficulties with English.
I am in no way able to increase the GLPI attachment size limit (version 10.0.2) using this image. I've already edited everything that was php.ini of the image, but without success.
I tried to re-build the image by replacing 'upload_max_filesize = 2M' with 'upload_max_filesize = 500M' of all these files:
But when I start the container, it doesn't work. What can I do to resolve this issue?
I will be very happy if someone can help me.
Below is my Dockerfile:
FROM diouxx/glpi
`
RUN sed -i "s/2M/500M/" /etc/php/7.4/apache2/php.ini `&& sed -i "s/2M/500M/" /etc/php/7.4/cli/php.ini \
&& sed -i "s/2M/500M/" /etc/php/7.4/phpdbg/php.ini \
&& sed -i "s/2M/500M/" /usr/lib/php/7.4/php.ini-development \
&& sed -i "s/2M/500M/" /usr/lib/php/7.4/php.ini-production \
&& sed -i "s/2M/500M/" /usr/lib/php/7.4/php.ini-production.cli \
&& sed -i "s/2M/500M/" /var/www/html/glpi/vendor/blueimp/jquery-file-upload/server/php/php.ini