[Ilugc] Apache - PHP

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Fri Aug 1 18:24:26 2008

On 17:43:54 Aug 01, Kenneth Gonsalves wrote:

I dunno about php. But in python and perl there are two ways of doing a 
website:

1. Use standard python and perl with the CGI module - put your scripts in 
cgi-bin and apache invokes the python/perl interpreter to run the scripts - 
slow.

2. Use mod_perl/mod_python which is embedded in apache as a module. Put 
your scripts anywhere and apache runs them as a part of apache - fast. No 
CGI here.


Okay now you make yourself clear.

This difference is not important.

What matters is the overall architecture which is both same.

My diagram holds good in both cases.

-Girish

Other related posts: