Install GLPI 11 on Windows Server with IIS

Windows Server 2022Windows Server 2025

In this tutorial, I will explain how to install GLPI 11 on Windows Server using how server IIS.

As you will see in this tutorial, preparing the Windows server is quite lengthy in order to run GLPI 11 on Windows Server using IIS.

Prerequisites for installing GLPI 11 on Windows Server

IIS: The Web Server

The first component needed for GLPI is the web server; with Windows Server, you have the IIS web server included, which we will use.

To install IIS, I invite you to read this tutorial: Windows Server 2025: Installing the IIS Web Server

When installing the IIS server, to save time, you should install the following additional features:

  • Basic authentication
  • Windows Authentication
  • CGI

PHP

The second component required for GLPI 11 is PHP, which is the programming language used for generating main pages as well as all automated actions…

For GLPI 11, you can install PHP 8.3; for PHP on Windows Server, I invite you to follow this tutorial: Installing PHP with IIS on Windows Server 2025.

URL Rewrite for IIS

Since GLPI 11 needs to do URL rewriting, it is necessary to install URL Rewrite on the IIS server.

You can download it here: URL Rewrite

The installation is basic, simply run the installation file and follow the installation wizard.

OpenSSL

During GLPI installation, a security key is created and it requires the installation of OpenSSL 3.0.15 for generation.

Start by downloading the archive available at this address: openssl-3.0.15.zip

Unzip the archive and copy the unzipped folder to the root of drive C.

From the Start menu, search for Variable and click on Edit system environment variables 1.

In System Properties, click on Environment Variable 1.

In the section: System variables, select the variable Path 1 and click on the Edit 2 button.

Click the New 1 button to add a line.

Add the path 1 where the openssl.exe file is located and click OK 2.

Close all windows related to adding OpenSSL.

Finally, copy the ssl folder from the archive to: C:\Program Files\Common Files\

Configuring PHP

GLPI 11 requires certain PHP extensions to be enabled in order to function. In your PHP version’s folder, rename the file php.ini-production in php.ini.

In the extensions configuration section, remove the semicolon (;) to activate the extensions. Here are the extensions to activate:

  • bz2
  • curl
  • fileinfo
  • gd
  • intl
  • imap
  • mbstring
  • exif
  • mysqli
  • openssl
  • pdo_mysql
  • soap
  • xsl
  • zip
  • opcache

If you wish to link to a directory Active Directory You also need to activate the ldap extension.

For the changes to take effect, restart the IIS server from the IIS console.

Installing MariaDB on Windows Server

In order to function and save data, GLPI 11 needs a database.

For installing MariDB on Windows Server, see the tutorial: Windows Server 2025: Install MariaDB explains step by step how to do it.

Database configuration

Using HeidiSQL, connect to the MariaDB server:

Right-click on the server, then go to Create a new one 1 and then to Database 2.

Name the database 1 and click OK 2 to create it.

The database is created.

We will now create a dedicated user for the GLPI application which will allow access to the database we just created. Click on the user management icon 1.

Click on the Add 1 button.

Enter the username 1, enter the address 127.0.0.1 2 to limit the question to the database, enter the account password 3 and confirm it and then click on the Add an object button 4.

Select the GLPI database 1 that we just created and click OK 2.

Check the box 1 at the database level to select all permissions and then click Save 2 to create the user.

The user is created.

Creation of the GLPI 11 website within IIS

Open the IIS Management Console, from the console go to the Sites folder 1 then click on Add a Website 2.

Name the site 1, specify the physical location of the files 2, enter the DNS name for GLPI 11 3 and click OK 4 to create the new site in IIS.

The site dedicated to GLPI 11 is created on the IIS server.

We have finished with the “prerequisites”; for proper functioning, we will need to return to the site configuration later.

Download GLPI 11

Go to the depot Github and download the GLPI 11 archive:

Once the archive is downloaded, extract it from there.

Copy the files into the IIS site directory

Now, copy the files from the archive into the folder configured on the IIS site.

Modify the site and directory configuration

Before proceeding with the installation of GLPI 11 from the internet browser, there are still some adjustments to be made…

Return to the IIS console, right-click on the site, then go to Manage Website 1 and click on Advanced Settings 2.

Modify the physical path by adding the \public directory 1 and then click OK 2.

In the public folder, create a file web.config and paste the content below into it.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Rewrite to GLPI" stopProcessing="true">
                    <match url="^(.*)$" />
                    <conditions>
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="index.php" appendQueryString="true" />
                </rule>
          </rules>
        </rewrite>
    </system.webServer>
</configuration>

From the console, restart the server site for the changes to take effect.

Finally, you need to modify the ACL security permissions of the following folders:

  • config
  • files
  • marketplace
  • plugins

By indicating Everyone with Total Control.

To be honest, I’m not a fan of this ACL configuration; it’s the only solution I’ve found.

Install GLPI 11

We have reached the final step, which is the installation of GLPI. From a browser, enter the URL of the site, having first taken care to create a DNS record.

Click on the “Go to installation page” button 1.

Choose language 1 and click OK 2.

Accept the license by clicking the Continue button 1.

Click on the Install button 1.

When checking the configuration, verify that everything is correct, click on the Continue 1 button at the bottom of the page.

Enter the database server address 1 (127.0.0.1), the user 2 that we created and their password 3 then click on Continue 4.

Select database 1 and click Continue 2.

Once the database is initialized, click the Continue 1 button.

Proceed through the next two steps of the wizard by clicking on Continue 1.

Finally, click on Use GLPI 1.

Log in to GLPI

The installation is complete. To connect to GLPI, enter the username glpi 1, the password glpi 2, and then click on Connect 3.

Once logged in, you arrive at the main dashboard.

In the Configuration / General section, we can see the system settings, as we can see below, we are indeed on an IIS Web server.

Conclusion

This tutorial has shown how to install GLPI 11 on Windows Server with IIS; this installation requires a lot of preparation and configuration to have an environment that meets the prerequisites.

If you wish to install GLPI 11 on Linux, you can follow this tutorial: GLPI 11: Installation on Linux

You can find other articles about GLPI 11 by clicking here.

Romain Drouche
System Architect | MCSE: Core Infrastructure
IT infrastructure expert with over 15 years of field experience. Currently a Systems and Networks Project Manager and Information Systems Security (ISS) expert, I use my expertise to ensure the reliability and security of technological environments.