You are not logged in.
Pages: 1
Topic closed
Does anyone know what files I need to modify to allow document uploads bigger than 2M? I searched documentation and forums, but haven't had much luck. Thanks!
Offline
It's PHP options.
See : upload_max_filesize and post_max_size
++
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
I've modified php.ini to allow up to 4Mb, but when trying to upload a 3Mb file I get:
Potential upload attack, Or file too large. Moving temporary file failed.
Also, the upload form says:
File (2 Mb max):
Is the limit not set in GLPI? Any other ideas? Thanks!
Offline
Wow. I guess I underestimated GLPI! I took another look at my php.ini and although it was correct, I hadn't restarted httpd. Once I did, the upload form reflected the changes, like so:
File (12 Mb max):
Thanks!
Offline
Pages: 1
Topic closed