Prerequisites¶
GLPI is a Web application that will need:
- a webserver;
- PHP;
- a database.
Web server¶
GLPI requires a web server that supports PHP, like:
PHP¶
As of 9.5 release, GLPI requires PHP 7.2 or more recent.
Note
We recommend to use the most recent stable PHP release for better performances.
Mandatory extensions¶
Following PHP extensions are required for the app to work properly:
curl
: for CAS authentication, GLPI version check, Telemetry, …;fileinfo
: to get extra informations on files;gd
: to generate images;json
: to get support for JSON data format;mbstring
: to manage multi bytes characters;mysqli
: to connect and query the database;session
: to get user sessions support;zlib
: to get backup and restore database functions;simplexml
;xml
;intl
.
Optional extensions¶
Note
Even if those extensions are not mandatory, we advise you to install them anyways.
Following PHP extensions are required for some extra features of GLPI:
cli
: to use PHP from command line (scripts, automatic actions, and so on);domxml
: used for CAS authentication;imap
: used for mail collector ou user authentication;ldap
: use LDAP directory for authentication;openssl
: secured communications;xmlrpc
: used for XMLRPC API.APCu
: may be used for cache; among others (see caching configuration (in french only).
Configuration¶
PHP configuration file (php.ini
) must be adapted to reflect following variables:
memory_limit = 64M ; // max memory limit
file_uploads = on ;
max_execution_time = 600 ; // not mandatory but recommended
session.auto_start = off ;
session.use_trans_sid = 0 ; // not mandatory but recommended