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¶
GLPI Version | Minimum PHP | Maximum PHP |
---|---|---|
9.4.X | 5.6 | 7.4 |
9.5.X | 7.2 | 8.0 |
10.0.X | 7.4 | 8.1 |
Note
We recommend to use the newest supported PHP release for better performance.
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;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