Understanding PHP Request Handling in an Apache Web Server Environment
10 likes | 136 Vues
This article explains how an Apache web server processes requests for PHP scripts, with a focus on the interaction between the PHP interpreter, MySQL database, and the client's browser. We discuss the flow of a request: from a PHP code request in links.php to execution, generating HTML output, and handling SQL queries. We highlight the roles of each component and how they collaborate to deliver dynamic web content.
Understanding PHP Request Handling in an Apache Web Server Environment
E N D
Presentation Transcript
webserver/apache • brown-snout.com • receives request for links.php • php code is sent to php interpreter • returns html back when php is completed • php interpreter • handles: • <?php • … php code … • ?> • sends embedded SQL queries to mysql • mysql database • handles SQL requests http request • browser/client • requests links.php • executes javascript locally