summaryrefslogtreecommitdiff
path: root/www/ap-php/MESSAGE
blob: 5aa74204b29e315d148c6aeb9a6fc59d04a59c97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
===========================================================================
$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 php${PKG_PHP_VERSION}_module lib/httpd/mod_php${PKG_PHP_VERSION}.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 php${PKG_PHP_VERSION}_module lib/httpd/mod_php${PKG_PHP_VERSION}.so
  AddHandler application/x-httpd-php .php

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

  AddHandler application/x-httpd-php .php3

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