You are here: Re: Perl vs PHP? « PHP Programming Language « IT news, forums, messages
Re: Perl vs PHP?

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...

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация