
Web Architecture with PHP
Web Architecture Diagram of PHP Applications
Now lets put all these together and see how do they work actually. An Architecture Diagram is a logical diagram that shows how each of the components in a system is connected with each other and how are the data flowing between. If we draw architecture diagram for a typical PHP based web application it will be like the below diagram.
First user accessed the website through browser. That means user types the URL of the website in browser and hit go.
The page request on browser will reach to the Web Server (Apache).
Web server will collect that requested page (HTML or PHP or Image file etc) from its document root. (In our example it will be www...