[Ilugc] Apache - PHP

  • From: lawgon@xxxxxxxxxxxxxxx (Kenneth Gonsalves)
  • Date: Fri Aug 1 17:36:40 2008


On 01-Aug-08, at 5:14 PM, Girish Venkatachalam wrote:

are you sure about this? I thought that perl, python etc use cgi  
whereas
mod_perl, mod_python and php do not.


Then?

I dunno. Perhaps there is some terminology confusion.

I am sure perl CGI uses the same concept that I mentioned above and it
uses mod_perl.

I dunno about mod_python and php.

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.


-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/code/



Other related posts: