You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2008-03-04 03:33:25

tylswans
Member
Registered: 2007-11-19
Posts: 35

Document upload

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

#2 2008-03-04 07:59:55

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Document upload

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

#3 2008-03-05 06:35:18

tylswans
Member
Registered: 2007-11-19
Posts: 35

Re: Document upload

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

#4 2008-03-05 07:15:28

tylswans
Member
Registered: 2007-11-19
Posts: 35

Re: Document upload

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

#5 2008-03-05 21:04:22

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Document upload

Ok i close wink


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

Board footer

Powered by FluxBB