Posted by Michael Vilain on 06/25/05 10:55
In article <WM4ve.5989$Y75.4542@newssvr17.news.prodigy.com>,
DarbyCrash <bobby.pyn@gmail.com> wrote:
> Keith wrote:
> > All:
> > What is the difference between Perl (CGI) and PHP (Apache module)? I
> > thought both used servers to direct the
> > user to the appropiate Perl or PHP program in order to execute the program
> > to interpret the user's Perl or PHP script
> > respectively.
> >
> > Keith
>
> Are you asking what the difference is in how Apache handles PHP and
> Perl/CGI or the differences in the languages themselves?
Semantics of each language aside, both perl and php can be "called" as a
CGI process or as part of the Apache server in a module. I use perl as
a CGI and CGIwrap when I want to set the code to restrict permissions on
who can read it. I can't do this with php since it runs as the Apache
user within the Apache process because my ISP doesn't offer php as a CGI
program.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
[Back to original message]
|