This page describes the installation of various components needed to run Dolibarr on a Windows environment.
The installation has been done on Windows 10 but should be functional for earlier versions of Windows - some screenshots just won't fit.
If you are a beginner, please note that the section Installation - Update With DoliWamp (Windows .exe package) also discusses automated installation with DoliWamp.
The interest to install even the different "Server" components needed for Dolibarr to work properly is the possibility to choose newer versions than those proposed by the DoliWamp installer.
It is also an excellent way to understand how it works and to deepen your knowledge about deployment and maintenance of a Dolibarr instance.
This documentation page has been written with the goal to be understandable to the largest number of people (whatever the computer level). Some precisions could appear as trivial for some people but will certainly be useful for others. If you are a (great) beginner, don't try to go fast and take the time to read the different sections of the page carefully (allow a big half-day for implementation).
In the following page, it has been tried as much as possible to explain the different actions you are going to perform (the aim being to understand and not to copy/paste or mechanically apply instructions). In order to easily distinguish the explanations from the actions to be performed, please note that all the actions to be performed are preceded by a bullet (•).
Dolibarr Architecture
Dolibarr is a Web software of type "Client/Server.
So it requires a 'Web Server with scripting language PHP and a Relational Database Management System to work.
Functioning
On the "Client" side, you use a Internet browser (Firefox, Chrome, Opera, Internet Explorer, etc.) to access the Dolibarr interface by typing the address of the Web Server.
As soon as you type address to which Web Server answers (for example http://localhost/dolibarr), it will try to display main page of sub directory Dolibarr (according to Web Server configuration, main page of a directory - also called index page - can be for example index.html
, index.htm
or index.php
).
Generally, by default, the Web Server will be configured to recognize only index.html
files as index files but we will see together how to add index.php
files.
The files .php
being script files written in the PHP language, they will not be directly understandable by the browser of the "'Client" which is only able to display HTML.
So we will have to tell the Web Server that when it encounters a file with the extension .php
, it will have to use its module mod_php
to interpret (or convert if you prefer) the PHP code into HTML code before sending it back to the "Client" (i.e. the browser).
Finally, we also need to install a Relational Database Management System, here MariaDB to store Dolibarr data (it's Dolibarr PHP scripts that will interact with the SGBDR to write or read data from it).