You are not logged in.
Pages: 1
Hello,
is it possible to move for example folder:
/var/www/html/glpi/files/_sessions
to:
/var/lib/php/sessions/
Does it makes sense for security? Will GLPI (and GLPI sessions garbage collection) still work?
If yes, where is better to set the variable GLPI_SESSION_DIR?
Thanks,
Matteo
Offline
Please refer to the GLPI Installation Documentation.
https://glpi-install.readthedocs.io/en/ … -locations
It is best to create a file called "local_define.php" in the config folder of GLPI.
In this file, you can put PHP code to define these variables. Anything set here will not get overridden by the defaults of GLPI.
Example:
if (!defined('GLPI_SESSION_DIR')) {
define('GLPI_SESSION_DIR', '/var/lib/php/sessions')
}
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Online
I followed the GLPI Installation Documentation and I did it, thank you very much!
Offline
Pages: 1