[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: www/php port




well, because our in-tree httpd doesn't do DSO, you currently don't get a php
apache module. instead you get a cgi program in /usr/local/bin. So its
not that integrated (yet). but it could be in the future.

plus i think that people who have heard of php will think 'web' and look for
it in www, rather than think 'language' and look in lang.

On Fri, 20 Aug 1999, Chris Cappuccio wrote:

> Yes this is wrong it's very tightly integrated with Apache (for use with
> "www") and not a language that anyone would use in any other form!!
> 
> On Fri, 20 Aug 1999, David Leonard wrote:
> 
>  | On Fri, 20 Aug 1999, Hannah Schroeter wrote:
>  | 
>  | > > for your webbing pleasure
>  | > Nice. However, I'd put it into lang/ instead of www/, since it's a
>  | > scripting *language* -- even if it's mainly used for CGI-like
>  | > applications.
>  | 
>  | hmmm, ok. any objections?

I'm also going to add the following pkg/MESSAGE

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
PHP: OpenBSD post-installation note
-----------------------------------

To make PHP work you need to make a symbolic link to /usr/local/bin/php
from /var/www/cgi-bin/php, then add the following to your .htaccess files:

        Action application/x-php3 /cgi-bin/php
        AddType application/x-php3 .php3

There are various security concerns with having cgi-bin execuatbles, and
these are described in the PHP documentation (in /usr/local/share/doc/php).

(The alternative to a CGI-based PHP is to have an Apache 'DSO' module, 
but DSO is not configured on all platforms, and not everyone has the
OpenBSD source tree.)

$OpenBSD$
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

-- 
David Leonard                           David.Leonard@csee.uq.edu.au
Dept of Comp. Sci. and Elec. Engg   _   Ph:+61 414 857 074 (M)
The University of Queensland       |+|  http://www.csee.uq.edu.au/~leonard/
QLD 4072  AUSTRALIA               ~` '~ E2A24DC6446E5779D7AFC41AA04E6401