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:

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.

Dolibarr download page

Step 2: Install and configure Apache

Once you have downloaded Dolibarr, the next step is to install and configure the Apache web server.

  1. Download the Apache web server installer from the official website

  2. Run the Apache installer and follow the steps to install it on your Windows 11 system.

  3. After the installation is complete, navigate to the conf folder inside the Apache installation directory (C:\Program Files\Apache Group\Apache2\conf) and open the httpd.conf file in a text editor.

  4. Uncomment the following line to enable the PHP module:

    LoadModule php_module "C:/php/php7apache2_4.dll"
    
  5. Save the httpd.conf file 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.

  1. Download the latest version of PHP from the official website.

  2. Extract the PHP ZIP file to a folder in your system (e.g. C:\php).

  3. Open the php.ini-development file in a text editor and make the following changes:

    ;extension_dir = "ext"
    extension_dir = "C:\php\ext"
    extension=mysqli
    extension=gd2
    extension=mbstring
    extension=zip
    
  4. Save the php.ini-development file as php.ini.

  5. Copy the php.ini file to the Apache installation directory (C:\Program Files\Apache Group\Apache2).

  6. 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.

  1. Download and install MySQL or MariaDB from the official website.

  2. Create a new user and database for Dolibarr using the MySQL/MariaDB console or a GUI tool like phpMyAdmin.

  3. Grant all privileges on the Dolibarr database to the Dolibarr user.

    GRANT ALL PRIVILEGES ON dolibarr.* TO 'dolibarruser'@'localhost' IDENTIFIED BY 'password';
    
  4. Edit the php.ini file inside the Apache installation directory (C:\Program Files\Apache Group\Apache2\php.ini) and uncomment the following line:

    ;extension=pdo_mysql
    
  5. Save the php.ini file and restart the Apache web server.

Step 5: Install Dolibarr

Finally, you are ready to install Dolibarr on your Windows 11 system.

  1. Extract the Dolibarr ZIP file to the document root of your Apache web server (C:\Program Files\Apache Group\Apache2\htdocs).

  2. Rename the Dolibarr directory to something more user-friendly (e.g. dolibarr).

  3. Edit the htdocs/dolibarr/conf/conf.php file to reflect your server configuration (e.g. database name, username, password, etc.).

  4. Open your web browser and visit http://localhost/dolibarr to access the Dolibarr installer.

  5. Follow the steps in the installer to complete the installation of Dolibarr.

  6. 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.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!