How to Install Dolibarr on Windows 11
Dolibarr is an open-source ERP and CRM software that is used by businesses to manage their daily tasks. It is capable of handling tasks like invoicing, accounting, inventory management, CRM, and project management. Dolibarr is written in PHP and uses MySQL or MariaDB as a database to store data. In this tutorial, we will explain how to install Dolibarr on a Windows 11 system.
Prerequisites
Before installing Dolibarr on Windows 11, you need to have the following software installed on your system:
- Apache web server
- PHP 7.3 or higher
- MySQL or MariaDB
Step 1: Download Dolibarr
First, you need to download the latest stable version of Dolibarr from the official website.
Go to the Dolibarr download page and select the Windows version.

Step 2: Install and configure Apache
Once you have downloaded Dolibarr, the next step is to install and configure the Apache web server.
Download the Apache web server installer from the official website
Run the Apache installer and follow the steps to install it on your Windows 11 system.
After the installation is complete, navigate to the
conffolder inside the Apache installation directory (C:\Program Files\Apache Group\Apache2\conf) and open thehttpd.conffile in a text editor.Uncomment the following line to enable the PHP module:
LoadModule php_module "C:/php/php7apache2_4.dll"Save the
httpd.conffile and restart the Apache web server.
Step 3: Install and configure PHP
Now, you need to install and configure PHP on your Windows 11 system.
Download the latest version of PHP from the official website.
Extract the PHP ZIP file to a folder in your system (e.g.
C:\php).Open the
php.ini-developmentfile in a text editor and make the following changes:;extension_dir = "ext" extension_dir = "C:\php\ext" extension=mysqli extension=gd2 extension=mbstring extension=zipSave the
php.ini-developmentfile asphp.ini.Copy the
php.inifile to the Apache installation directory (C:\Program Files\Apache Group\Apache2).Restart the Apache web server.
Step 4: Install and configure MySQL/MariaDB
Next, you need to install and configure MySQL or MariaDB on your Windows 11 system.
Download and install MySQL or MariaDB from the official website.
Create a new user and database for Dolibarr using the MySQL/MariaDB console or a GUI tool like phpMyAdmin.
Grant all privileges on the Dolibarr database to the Dolibarr user.
GRANT ALL PRIVILEGES ON dolibarr.* TO 'dolibarruser'@'localhost' IDENTIFIED BY 'password';Edit the
php.inifile inside the Apache installation directory (C:\Program Files\Apache Group\Apache2\php.ini) and uncomment the following line:;extension=pdo_mysqlSave the
php.inifile and restart the Apache web server.
Step 5: Install Dolibarr
Finally, you are ready to install Dolibarr on your Windows 11 system.
Extract the Dolibarr ZIP file to the document root of your Apache web server (
C:\Program Files\Apache Group\Apache2\htdocs).Rename the Dolibarr directory to something more user-friendly (e.g.
dolibarr).Edit the
htdocs/dolibarr/conf/conf.phpfile to reflect your server configuration (e.g. database name, username, password, etc.).Open your web browser and visit
http://localhost/dolibarrto access the Dolibarr installer.Follow the steps in the installer to complete the installation of Dolibarr.
Congratulations! You have successfully installed Dolibarr on your Windows 11 system.
Conclusion
In this tutorial, we have shown you how to install Dolibarr on your Windows 11 system. By following these steps, you can now use Dolibarr to manage your business tasks efficiently.