How the web server interprets PHP and interacts with the client?
After installing and configuring PHP, web When PHP is installed, Web server looks for PHP code which is embedded in HTML file with its extension. Extensions which are used are .php or .phtml. When web server receives a request for file with an appropriate extension, HTML statements are processed and PHP statements are executed on server itself. When processing gets over output is being shown in HTML statements.