GLPI and max upload file size 2MB limit

Hi everyone, I can’t increase the PHP upload value in the GLPI asset. Can anyone show me how to do it? I tried with the php show, php73 etc but nothing.

GLPI module from wiki?
Which php version is it using?
If it’s the default php version, there are some web server settings on cockpit server-manager:
image

Hi, here’s what I read from the information:



The module was downloaded from the sthepan repo

I think it uses the system’s default php version (5.4 or so).
Have you tried increasing the “Dimensione massima file” from the Settings? From the command line you can find it with:

config show php
config getprop php UploadMaxFilesize

[root@neth7 ~]# config show php
php=configuration
DateTimezone=Europe/Rome
ExposePhp=
MaxExecutionTime=0
MaxFileUploads=
MemoryLimit=128
PostMaxSize=8
ShortOpenTag=
UploadMaxFilesize=4

I solved by myself, the configuration file despite the 4 MB change was not processed by GLPI or rather it was only necessary to restart httpd.

1 Like