Changes

m
no edit summary
Line 26: Line 26:     
So it requires a '''Web Server'' with scripting language '' PHP'' and a '' Relational Database Management System'' to work. [[File:ArchitectureClientServeurDolibarr.png|none|thumb|781x781px|Dolibarr Client/Server Architecture|link=Special:FilePath/ArchitectureClientServeurDolibarr.png]]<br />
 
So it requires a '''Web Server'' with scripting language '' PHP'' and a '' Relational Database Management System'' to work. [[File:ArchitectureClientServeurDolibarr.png|none|thumb|781x781px|Dolibarr Client/Server Architecture|link=Special:FilePath/ArchitectureClientServeurDolibarr.png]]<br />
 +
 +
===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 <code>index.html</code>, <code>index.htm</code> or <code>index.php</code>).
 +
 +
Generally, by default, the '''Web Server''' will be configured to recognize only <code>index.html</code> files as index files but we will see together how to add <code>index.php</code> files.
 +
 +
The files <code>.php</code> 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 <code>.php</code>, it will have to use its module <code>mod_php</code> 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 <abbr title="Relational Database Management System">SGBDR</abbr> to write or read data from it).
676

edits