pkgsrc/www/ap-php/MESSAGE

24 lines
821 B
Text
Raw Normal View History

===========================================================================
$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
===========================================================================