On Thu, 16 Mar 2006 00:20:23 +0100 Chris Alatakis <[EMAIL PROTECTED]>
wrote:

> Anon wrote:
> > Hello :)
> >
> >
> >
> > My questions can be summarised as :
> >
> > 1) What is the easiest way to install php in CGI mode on OBSD?
> >   
> Php in CGI mode makes no sense. Php is beloved of his speed against
> perl for example which is a powerful alternative.
> We are not going to discuss this here at misc Perl vs PHP so leave
> with it or change to perl. Php CGI is buggy slow and has many
> problems to accomplish some tasks thats trivial otherwise.

This is of course complete nonsense.  PHP may be beloved by some
people, but it has nothing to do with speed.  Running PHP as a CGI is
simple and has no buggy problems or anything else.  Its just like
running perl as a CGI instead of using mod_perl, or python as a CGI
instead of mod_python.

> > 2) Why doesn't OBSD have a package for php that includes the CGI
> > version? 
> Not ported as others told u. I don't think there are many that they
> go this way so probably is no need

Uh, its enabled if you installed it through ports/packages.  Just stick
#!/usr/local/bin/php up at the top of your script, and you have a PHP
cgi script just like you would with any other language.

Adam

Reply via email to