[Ilugc] Apache - PHP

  • From: a.kumar@xxxxxxxxxxxxxxxxx (Kumar Appaiah)
  • Date: Fri Aug 1 13:18:49 2008

On Fri, Aug 1, 2008 at 1:05 PM, dharanivasan dharanivasan wrote:

Dear Friends ,
Please tell me how Apache communicate with PHP . I know Web server <--> Web
browser request/response . But don't know how  Apache response PHP
files(Preprocessed HTML). Where PHP resides between Apache &  web-browser .

In all likelihood, as a module which is loaded at runtime by Apache
(mod_php) (depending on what your server runs). One can also call PHP
in a fashion similar to CGI, but that is less preferred due to various
reasons, one of them being the necessity to fork/exec. There is also
FastCGI, but you can read about these things, I don't know too much to
explain...

HTH.

Kumar
-- 
Kumar Appaiah

Other related posts: