[EMAIL PROTECTED] writes:
 > Damn ... trying to keep my usenet identities seperated ...
 > 
 > > Joe,
 > 
 > >Look for /usr/pkgsrc/www/ap-php.  That's the pkgsrc equivalent of
 > >mod_php.  Also your desired version of apache is located
 > >at /usr/pkgsrc/www/apache2.
 > 
 > Adrian,
 > 
 > The netbsd pkgsrc repository 
 > (ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/)
 > defines ap-php as an apache 1.3 package thusly - "ap-php-4.4.1nb3: Apache 
 > (apache13)
 > module for PHP4". The naming convention for apache modules seems to follow 
 > ap- and ap2-  
 > for 
 > apache and apache2 modules.  
 > 
 > There is a freebsd port for this rev of both products.  Maybe there is a 
 > fancy conversion 
 > tool to port the port?
 > 
 > Maybe this is the answer - "ap2-suphp-0.6.0: SuEXEC-like wrapper for PHP 
 > scripts"  Any 
 > thoughts?
 > 
 > Joe
 > 
 > <snip>
 > >> 
 > >> 
 > >> I can't seem to find a pkgsrc combination for apache2(2.0.55)/mod_php.  
 > >> Is it me or 
 > >> am I missing something.  I've been using the pre-built packages courtesy 
 > >> of this 
 > >> site. Is this a case of needing to build on my system rather than install 
 > >> a 
 > >> rebuilt?
 > >> 
 > >> http://chlamydia.fs.ei.tum.de/pub/DragonFly/packages/1.4.0-RELEASE/i386/
 > >> 
 > >> and I've also been to the netbsd pkgsrc site.  I'm drawing a blank.  Any 
 > >> pointers 
 > >> would be much appreciated.
 > >> 
 > >> Joe
 > >> 
 > >> 
 > 
 > 
 > 
 > 
 > 

ap-php-4.4.1nb3 is for both Apache 1.x and Apache 2.x.

[svn:~] pkg_info |grep php
php-4.4.1nb2        HTML-embedded scripting language
ap-php-4.4.1nb3     Apache (apache2) module for PHP4
php-zlib-4.4.1      PHP extension for zlib compression

[svn:~] pkg_info ap-php-4.4.1nb3
Information for ap-php-4.4.1nb3:

Comment:
Apache (apache2) module for PHP4

Requires:
apache>=2.0.52nb5
php-4.4.*
php>=4.4.0

Description:
PHP is an HTML-embedded scripting language. It is modular, with
some object-oriented features. Much of its syntax is borrowed from
C, Java and Perl with a couple of unique PHP-specific features
thrown in.  The language is designed to allow web developers to
write dynamically generated pages quickly.

This package contains the dynamically loadable PHP Apache module.

Homepage:
http://www.php.net/

Install notice:
===========================================================================
$NetBSD: MESSAGE,v 1.2 2005/03/30 03:25:00 darcy Exp $

In order to use this module in your Apache 1.x installation, you need
to
add the following to your httpd.conf file:

  LoadModule php4_module lib/httpd/mod_php4.so
  AddType application/x-httpd-php .php

You may also add following if you still use .php3 files:

  AddType application/x-httpd-php .php3

For Apache 2.x installation, you need following:

  LoadModule php4_module lib/httpd/mod_php4.so
  AddHandler application/x-httpd-php .php

You may also add following if you still use .php3 files:

  AddHandler application/x-httpd-php .php3

===========================================================================







Reply via email to