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.
Before installing Dolibarr on Windows 11, you need to have the following software installed on your system:
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.
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 conf
folder inside the Apache installation directory (C:\Program Files\Apache Group\Apache2\conf
) and open the httpd.conf
file in a text editor.
Uncomment the following line to enable the PHP module:
LoadModule php_module "C:/php/php7apache2_4.dll"
Save the httpd.conf
file and restart the Apache web server.
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-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
Save the php.ini-development
file as php.ini
.
Copy the php.ini
file to the Apache installation directory (C:\Program Files\Apache Group\Apache2
).
Restart the Apache web server.
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.ini
file inside the Apache installation directory (C:\Program Files\Apache Group\Apache2\php.ini
) and uncomment the following line:
;extension=pdo_mysql
Save the php.ini
file and restart the Apache web server.
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.php
file to reflect your server configuration (e.g. database name, username, password, etc.).
Open your web browser and visit http://localhost/dolibarr
to 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.
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!