Line 201:
Line 201:
So when we access a directory, '''Apache2''' will first look for a <code>index.php</code> file before looking for a <code>index.html</code> file.
So when we access a directory, '''Apache2''' will first look for a <code>index.php</code> file before looking for a <code>index.html</code> file.
−
====Interpreting <code>*.php</code> files=====
+
====Interpreting <code>*.php</code> files====
You remember, at the beginning, in the introductory section about Dolibarr architecture, I told you that browsers (Firefox, Chrome, Internet Explorer, etc.) that we use can understand and display only Web pages written in HTML language. So we must tell '''Apache2''' to interpret (convert) files <code>*.php</code> into HTML code understandable by browsers.
You remember, at the beginning, in the introductory section about Dolibarr architecture, I told you that browsers (Firefox, Chrome, Internet Explorer, etc.) that we use can understand and display only Web pages written in HTML language. So we must tell '''Apache2''' to interpret (convert) files <code>*.php</code> into HTML code understandable by browsers.