I am a dummy in web apps. I have a doubt regaring the functioning of apache web server. My question is mainly centered on "how apache handles each incoming request"
Q: When apache is running in the mod_python/mod_php mode, then does a "fork" happen for each incoming reuest?
If it forks in
mod_php/mod_pythonway, then where is the advantage over CGI mode, except for the fact that the forked process inmod_phpway already contains an interpretor instance.If it doesn't fork each time, how does it actually handle each incoming request in the
mod_php/mod_pythonway. Does it use threads?
PS: Where does FastCGI stands in the above comparison?