Suppose we have a typical LAMP setup. When a person requests a web page coded in php, what happens at the Apache level? Does Apache create a new php instance to create and return that web page? Or is there a continuous php instance running at all times?
Basically, here is how I think it works:
Person visits http://example.com/index.php
Apache receives the request, spins up an instance of php to create the page
Page is created, sent back to the requesting browser
PHP instance is closed
Thus, only one php instance deals with page requests...Is my thinking correct on this?