You are not logged in.
Pages: 1
Topic closed
Hello there,
How can one change the file size upload limit in Documents? It is limited to two megabytes. I tried manually uploading a bigger document (PDF) to the /glpi/files/PDF directory but, I can't associate it to anything since its size exceeds the 2MB limit.
I haven't found any place in the setup menu where I could change it.
Any help is appreciated.
Thanks
Bartek
Manaus/Amazonas/Brazil
******************************************
debian 5.0.4 , MySql 5.1, PHP 5, GLPI 0.72.4, OCS 1.3.1
Offline
Hello,
Its a php restriction. You've to edit your php.ini (this is for Linux).
Has something to do with the values of "post_max_size" and "upload_ max_filesize" in the php.ini
Here is a short script to display your PHP settings: (display only):
<HTML>
<BODY>
<?php
phpinfo();
?>
</BODY>
</HTML>
Name the file phpinfo.php or so. Place it in your websever root document floder and run from your webbrowser.
e.g. http:\\yourserver\phpinfo.php
It also shows the path to your "Loaded Configuration File". Thats the one you've to edit.
Then look for the two settings. When you change your php.ini the "post_max_file size" value has to be greater than the "
"upload_max file_size", e.g 601M and 600M
While your at it, check the short_open_tag. If its Off set it to On. It saves you some trouble with older PHP scripts.
Have fun
Frank
Still nuts about GLPI
Running glpi 0.84.1 on Ubuntu 12.04 LTS
Why are my posts written so poorly: I was the best dyslexic in my class.
Offline
Dankeschön, das hat funktioniert.
Thank you, it worked like a charm.
Last edited by bartek (2010-04-14 17:01:57)
******************************************
debian 5.0.4 , MySql 5.1, PHP 5, GLPI 0.72.4, OCS 1.3.1
Offline
Perfect. I close.
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Pages: 1
Topic closed